Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > test_check("vegdata")
  Loading required package: vegdata
  Loading required package: foreign
  This is vegdata 0.9
  trying URL 'http://geobot.botanik.uni-greifswald.de/download/GermanSL/version1.3/GermanSL.zip'
  1. Error: latest reference list (@test.R#9) ------------------------------------
  Reference list file /tmp/RtmpxvahNc/Species/GermanSL 1.3/species.dbf does not exist.
  1: load.taxlist(refl = "GermanSL 1.3") at testthat/test.R:9
  2: stop(paste("Reference list file", reflist.path, "does not exist."))
  
  trying URL 'http://geobot.botanik.uni-greifswald.de/download/GermanSL/version1.3/GermanSL.zip'
  2. Error: correct Taxa (@test.R#15) --------------------------------------------
  Reference list file /tmp/RtmpxvahNc/Species/GermanSL 1.3/species.dbf does not exist.
  1: expect_equal(sort(tax("Elytrigia repens", quiet = TRUE)$TaxonName), sort(c("Elytrigia repens subsp. arenosa", 
         "Elytrigia repens", "Elytrigia repens var. caesia", "Elytrigia repens var. littoralis", 
         "Elytrigia repens var. repens"))) at testthat/test.R:15
  2: compare(object, expected, ...)
  3: sort(tax("Elytrigia repens", quiet = TRUE)$TaxonName)
  4: tax("Elytrigia repens", quiet = TRUE)
  5: tax.default("Elytrigia repens", quiet = TRUE)
  6: load.taxlist(refl, reflist.type = reflist.type, detailed = detailed)
  7: stop(paste("Reference list file", reflist.path, "does not exist."))
  
  trying URL 'http://geobot.botanik.uni-greifswald.de/download/GermanSL/version1.3/GermanSL.zip'
  3. Error: taxval function tests 1 (@test.R#35) ---------------------------------
  Reference list file /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/vegdata/tvdata/Species/GermanSL 1.3/species.dbf does not exist.
  1: expect_equal(sort(tax(unique(obs$TaxonUsageID), syn = FALSE, quiet = TRUE)$TaxonName), 
         c("Acer pseudoplatanus", "Achillea", "Achillea millefolium", "Achillea millefolium agg.", 
             "Achillea millefolium subsp. sudetica", "Acoraceae", "Adonis aestivalis", 
             "Agrostis stolonifera var. palustris", "Armeria maritima subsp. elongata", 
             "Armeria maritima subsp. halleri", "Dactylis glomerata", "Galium mollugo", 
             "Hieracium pilosella", "Hieracium subg. Pilosella", "Picea abies", "Quercus robur")) at testthat/test.R:35
  2: compare(object, expected, ...)
  3: sort(tax(unique(obs$TaxonUsageID), syn = FALSE, quiet = TRUE)$TaxonName)
  4: tax(unique(obs$TaxonUsageID), syn = FALSE, quiet = TRUE)
  5: tax.default(unique(obs$TaxonUsageID), syn = FALSE, quiet = TRUE)
  6: load.taxlist(refl, reflist.type = reflist.type, detailed = detailed)
  7: stop(paste("Reference list file", reflist.path, "does not exist."))
  
  testthat results ================================================================
  OK: 4 SKIPPED: 0 FAILED: 3
  1. Error: latest reference list (@test.R#9) 
  2. Error: correct Taxa (@test.R#15) 
  3. Error: taxval function tests 1 (@test.R#35) 
  
  Error: testthat unit tests failed
  Execution halted