Running 'testthat.R' [3s/10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(traitdataform)
  > 
  > test_check("traitdataform")
  ââ 1. Error: (unknown) (@test.columns_to_ETS.R#5)  âââââââââââââââââââââââââââââ
  cannot open the connection to 'https://datadryad.org/bitstream/handle/10255/dryad.76638/ArthropodSpeciesTraits.txt?sequence=1'
  1: pulldata("arthropodtraits") at testthat/test.columns_to_ETS.R:5
  2: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  3: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  4: withVisible(eval(ei, envir))
  5: eval(ei, envir)
  6: eval(ei, envir)
  7: utils::read.csv(url("https://datadryad.org/bitstream/handle/10255/dryad.76638/ArthropodSpeciesTraits.txt?sequence=1", 
         encoding = "latin1"), sep = "\t", stringsAsFactors = TRUE)
  8: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, 
         comment.char = comment.char, ...)
  9: open(file, "rt")
  10: open.connection(file, "rt")
  
  ââ 2. Error: (unknown) (@test.map_gbif_taxonomy.R#6)  ââââââââââââââââââââââââââ
  cannot open the connection to 'https://datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt'
  1: pulldata("carabids") at testthat/test.map_gbif_taxonomy.R:6
  2: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  3: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  4: withVisible(eval(ei, envir))
  5: eval(ei, envir)
  6: eval(ei, envir)
  7: utils::read.delim(url("https://datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt", 
         encoding = "UTF-8"))
  8: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, 
         comment.char = comment.char, ...)
  9: open(file, "rt")
  10: open.connection(file, "rt")
  
  ââ 3. Error: mapping of taxa works (@test.standardize.R#6)  ââââââââââââââââââââ
  cannot open the connection to 'https://datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt'
  1: pulldata("carabids") at testthat/test.standardize.R:6
  2: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  3: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  4: withVisible(eval(ei, envir))
  5: eval(ei, envir)
  6: eval(ei, envir)
  7: utils::read.delim(url("https://datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt", 
         encoding = "UTF-8"))
  8: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, 
         comment.char = comment.char, ...)
  9: open(file, "rt")
  10: open.connection(file, "rt")
  
  ââ 4. Error: unit conversion works (@test.standardize.R#73)  âââââââââââââââââââ
  cannot open the connection to 'https://datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt'
  1: pulldata("carabids") at testthat/test.standardize.R:73
  2: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  3: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  4: withVisible(eval(ei, envir))
  5: eval(ei, envir)
  6: eval(ei, envir)
  7: utils::read.delim(url("https://datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt", 
         encoding = "UTF-8"))
  8: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, 
         comment.char = comment.char, ...)
  9: open(file, "rt")
  10: open.connection(file, "rt")
  
  ââ 5. Error: factor level harmonizationworks (@test.standardize.R#79)  âââââââââ
  cannot open the connection to 'https://datadryad.org/bitstream/handle/10255/dryad.76638/ArthropodSpeciesTraits.txt?sequence=1'
  1: pulldata("arthropodtraits") at testthat/test.standardize.R:79
  2: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  3: source(system.file("extdata", paste0(x, ".R"), package = "traitdataform"))
  4: withVisible(eval(ei, envir))
  5: eval(ei, envir)
  6: eval(ei, envir)
  7: utils::read.csv(url("https://datadryad.org/bitstream/handle/10255/dryad.76638/ArthropodSpeciesTraits.txt?sequence=1", 
         encoding = "latin1"), sep = "\t", stringsAsFactors = TRUE)
  8: read.table(file = file, header = header, sep = sep, quote = quote, dec = dec, fill = fill, 
         comment.char = comment.char, ...)
  9: open(file, "rt")
  10: open.connection(file, "rt")
  
  ââ testthat results  âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
  [ OK: 1 | SKIPPED: 0 | WARNINGS: 5 | FAILED: 5 ]
  1. Error: (unknown) (@test.columns_to_ETS.R#5) 
  2. Error: (unknown) (@test.map_gbif_taxonomy.R#6) 
  3. Error: mapping of taxa works (@test.standardize.R#6) 
  4. Error: unit conversion works (@test.standardize.R#73) 
  5. Error: factor level harmonizationworks (@test.standardize.R#79) 
  
  Error: testthat unit tests failed
  In addition: Warning messages:
  1: In for (name in names(public_methods)) lockBinding(name, public_bind_env) :
    closing unused connection 4 (https://datadryad.org/bitstream/handle/10255/dryad.76638/ArthropodSpeciesTraits.txt?sequence=1)
  2: In for (j in seq_along(x)) { :
    closing unused connection 5 (https://datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt)
  3: In for (j in seq_along(x)) { :
    closing unused connection 4 (https://datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt)
  Execution halted