Running ‘testthat.R’ [5m/17m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(portalr)
  > 
  > test_check("portalr")
  [ FAIL 1 | WARN 4 | SKIP 42 | PASS 90 ]
  
  ══ Skipped tests (42) ══════════════════════════════════════════════════════════
  • On CRAN (42): 'test-01-data-retrieval.R:6:5',
    'test-01-data-retrieval.R:39:5', 'test-01-data-retrieval.R:46:5',
    'test-01-data-retrieval.R:61:5', 'test-01-data-retrieval.R:76:5',
    'test-03-summarize-rodents.R:6:3', 'test-03-summarize-rodents.R:32:3',
    'test-03-summarize-rodents.R:38:3', 'test-03-summarize-rodents.R:60:3',
    'test-03-summarize-rodents.R:85:3', 'test-03-summarize-rodents.R:110:3',
    'test-03-summarize-rodents.R:129:3', 'test-03-summarize-rodents.R:195:3',
    'test-99-regression.R:6:3', 'test-99-regression.R:16:3',
    'test-99-regression.R:24:3', 'test-99-regression.R:42:3',
    'test-99-regression.R:66:3', 'test-99-regression.R:76:3',
    'test-99-regression.R:85:3', 'test-99-regression.R:98:3',
    'test-99-regression.R:107:3', 'test-99-regression.R:116:3',
    'test-99-regression.R:128:3', 'test-99-regression.R:139:3',
    'test-99-regression.R:151:3', 'test-99-regression.R:160:3',
    'test-99-regression.R:169:3', 'test-99-regression.R:179:3',
    'test-99-regression.R:193:3', 'test-99-regression.R:205:3',
    'test-99-regression.R:213:3', 'test-99-regression.R:225:3',
    'test-99-regression.R:233:3', 'test-99-regression.R:245:3',
    'test-99-regression.R:253:3', 'test-99-regression.R:265:3',
    'test-99-regression.R:278:3', 'test-99-regression.R:288:3',
    'test-99-regression.R:298:3', 'test-99-regression.R:316:3',
    'test-99-regression.R:328:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-02-data-processing.R:8:1'): (code run outside of `test_that()`) ──
  Error in `UseMethod("rename")`: no applicable method for 'rename' applied to an object of class "c('simpleWarning', 'warning', 'condition')"
  Backtrace:
      ▆
   1. └─portalr::load_rodent_data(portal_data_path) at test-02-data-processing.R:8:1
   2.   └─dplyr::rename(species_table, species = "speciescode")
  
  [ FAIL 1 | WARN 4 | SKIP 42 | PASS 90 ]
  Error: Test failures
  Execution halted