Running 'testthat.R' [415s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(portalr)
  > 
  > test_check("portalr")
  [ FAIL 1 | WARN 2 | SKIP 41 | PASS 142 ]
  
  == Skipped tests ===============================================================
  * On CRAN (41)
  
  == Failed tests ================================================================
  -- Error (test-11-phenocam.R:4:1): (code run outside of `test_that()`) ---------
  Error in `open.connection(file, "rt")`: cannot open the connection
  Backtrace:
      x
   1. +-portalr::phenocam("daily", path = portal_data_path) at test-11-phenocam.R:4:0
   2. | +-... %>% dplyr::arrange(.data$date)
   3. | \-utils::read.csv(...)
   4. |   \-utils::read.table(...)
   5. |     +-base::open(file, "rt")
   6. |     \-base::open.connection(file, "rt")
   7. \-dplyr::arrange(., .data$date)
  
  [ FAIL 1 | WARN 2 | SKIP 41 | PASS 142 ]
  Error: Test failures
  Execution halted