Running ‘testthat.R’ [4s/532s]
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://v1.datadryad.org/bitstream/handle/10255/dryad.76638/ArthropodSpeciesTraits.txt?sequence=1'
  Backtrace:
    1. traitdataform::pulldata("arthropodtraits")
    7. utils::read.csv(...)
    8. utils::read.table(...)
   10. base::open.connection(file, "rt")
  
  ── 2. Error: (unknown) (@test.map_gbif_taxonomy.R#6)  ──────────────────────────
  cannot open the connection to 'https://v1.datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt'
  Backtrace:
    1. traitdataform::pulldata("carabids")
    7. utils::read.delim(...)
    8. utils::read.table(...)
   10. base::open.connection(file, "rt")
  
  ── 3. Error: mapping of taxa works (@test.standardize.R#6)  ────────────────────
  cannot open the connection to 'https://v1.datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt'
  Backtrace:
    1. traitdataform::pulldata("carabids")
    7. utils::read.delim(...)
    8. utils::read.table(...)
   10. base::open.connection(file, "rt")
  
  ── 4. Error: unit conversion works (@test.standardize.R#73)  ───────────────────
  cannot open the connection to 'https://v1.datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt'
  Backtrace:
    1. traitdataform::pulldata("carabids")
    7. utils::read.delim(...)
    8. utils::read.table(...)
   10. base::open.connection(file, "rt")
  
  ── 5. Error: factor level harmonizationworks (@test.standardize.R#79)  ─────────
  cannot open the connection to 'https://v1.datadryad.org/bitstream/handle/10255/dryad.76638/ArthropodSpeciesTraits.txt?sequence=1'
  Backtrace:
    1. traitdataform::pulldata("arthropodtraits")
    7. utils::read.csv(...)
    8. utils::read.table(...)
   10. base::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 (elt in name) { :
    closing unused connection 5 (https://v1.datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt)
  2: In for (i in seq_len(n)) { :
    closing unused connection 6 (https://v1.datadryad.org/bitstream/handle/10255/dryad.134418/carabid%20traits%20final.txt)
  3: In for (i in seq_len(n)) { :
    closing unused connection 4 (https://v1.datadryad.org/bitstream/handle/10255/dryad.76638/ArthropodSpeciesTraits.txt?sequence=1)
  Execution halted