Running 'testthat.R' [223s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(portalr)
  > 
  > test_check("portalr")
  -- 1. Error: (unknown) (@test-11-phenocam.R#4)  --------------------------------
  cannot open the connection
  Backtrace:
   1. portalr::phenocam("daily", path = portal_data_path)
   5. utils::read.csv(...)
   6. utils::read.table(...)
   8. base::open.connection(file, "rt")
  
  -- 2. Failure: data generated by default setting is same (shrub_cover) (@test-99
  Value hashes to 273b981913, not 9e5849fa79
  
  -- 3. Failure: data generated by default setting is same (ant colony_presence_ab
  Value hashes to b16d3f1a01, not 8ce773ce81
  
  -- 4. Failure: data generated by level = 'stake' is same (ant colony_presence_ab
  Value hashes to 2194929e3e, not 4639dbfbf3
  
  -- 5. Failure: data generated by level = 'plot' is same (ant colony_presence_abs
  Value hashes to 255aef31fb, not 60e9306bfc
  
  -- 6. Error: data generated by default setting is same (phenocam)  -------------
  cannot open the connection
  Backtrace:
   1. portalr::phenocam(path = portal_data_path)
   5. utils::read.csv(...)
   6. utils::read.table(...)
   8. base::open.connection(file, "rt")
  
  == testthat results  ===========================================================
  [ OK: 185 | SKIPPED: 10 | WARNINGS: 2 | FAILED: 6 ]
  1. Error: (unknown) (@test-11-phenocam.R#4) 
  2. Failure: data generated by default setting is same (shrub_cover) (@test-99-regression.R#166) 
  3. Failure: data generated by default setting is same (ant colony_presence_absence) (@test-99-regression.R#177) 
  4. Failure: data generated by level = 'stake' is same (ant colony_presence_absence) (@test-99-regression.R#195) 
  5. Failure: data generated by level = 'plot' is same (ant colony_presence_absence) (@test-99-regression.R#213) 
  6. Error: data generated by default setting is same (phenocam) 
  
  Error: testthat unit tests failed
  In addition: Warning message:
  closing unused connection 4 (http://phenocam.sr.unh.edu/data/archive/portal/ROI/portal_SH_1000_1day.csv) 
  Execution halted