Running 'test-all.R' [33s]
Running the tests in 'tests/test-all.R' failed.
Complete output:
  > 
  > library(testthat)
  > 
  > # important to replicate errors!
  > rclimateca::clear_cache()
  > 
  > test_check("rclimateca")
  Loading required package: rclimateca
  -- 1. Error: all timeframes and output types of data work for a random location 
  Daily data for site YARMOUTH OVERLAP (50188) failed (years 2012-2012): No data available (zero rows) for call: getClimateMUData(stationID = site$stationid, timeframe = "daily",     year = yearstart:yearend, progress = "none")
  1: expect_true(test_random_locations(n = 1, error_action = stop)) at testthat/test-deprecated_functions.R:90
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: test_random_locations(n = 1, error_action = stop)
  5: test_locations(id = ids, error_action = error_action) at testthat/test-deprecated_functions.R:84
  6: tryCatch({
         dfwide <- suppressMessages(getClimateData(site$stationid, timeframe = "daily", 
             year = yearstart:yearend, progress = "none"))
         dflong <- suppressMessages(getClimateData(site$stationid, timeframe = "daily", 
             year = yearstart:yearend, format = "long", progress = "none"))
         md <- suppressMessages(getClimateMUData(site$stationid, timeframe = "daily", 
             year = yearstart:yearend, progress = "none"))
     }, error = function(err) {
         msg <- sprintf("Daily data for site %s (%s) failed (years %s-%s): %s", site$name, 
             site$stationid, yearstart, yearend, err)
         message(msg)
         error_action(msg)
     }) at testthat/test-deprecated_functions.R:37
  7: tryCatchList(expr, classes, parentenv, handlers)
  8: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  9: value[[3L]](cond)
  10: error_action(msg) at testthat/test-deprecated_functions.R:53
  
  == testthat results  ===========================================================
  OK: 186 SKIPPED: 0 FAILED: 1
  1. Error: all timeframes and output types of data work for a random location (@test-deprecated_functions.R#90) 
  
  Error: testthat unit tests failed
  Execution halted