Running 'test-all.R' [62s]
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: geocode searching works (@test-climate_locations.R#199)  ----------
  Location 'wolfville ns' could not be geocoded
  1: expect_equal(ec_climate_geosearch_locations("wolfville ns") %>% rlang::set_attrs(NULL) %>% 
         sort(), ec_climate_search_locations(c(-64.36449, 45.09123)) %>% rlang::set_attrs(NULL) %>% 
         sort()) at testthat/test-climate_locations.R:199
  2: quasi_label(enquo(object), label)
  3: eval_bare(get_expr(quo), get_env(quo))
  4: ec_climate_geosearch_locations("wolfville ns") %>% rlang::set_attrs(NULL) %>% sort()
  5: eval(lhs, parent, parent)
  6: eval(lhs, parent, parent)
  7: ec_climate_geosearch_locations("wolfville ns")
  8: stop("Location '", query, "' could not be geocoded")
  
  -- 2. Error: printing of search results gives the correct information (@test-cli
  Location 'wolfville ns' could not be geocoded
  1: expect_output(print(ec_climate_geosearch_locations("wolfville ns")), "Search results for") at testthat/test-climate_locations.R:212
  2: quasi_capture(enquo(object), capture_output, label = label)
  3: capture(act$val <- eval_bare(get_expr(quo), get_env(quo)))
  4: capture_output_lines(code, print, width = width)
  5: eval_with_output(code, print = print, width = width)
  6: withr::with_output_sink(temp, withVisible(code))
  7: force(code)
  8: withVisible(code)
  9: eval_bare(get_expr(quo), get_env(quo))
  10: print(ec_climate_geosearch_locations("wolfville ns"))
  11: ec_climate_geosearch_locations("wolfville ns")
  12: stop("Location '", query, "' could not be geocoded")
  
  == testthat results  ===========================================================
  OK: 172 SKIPPED: 0 FAILED: 2
  1. Error: geocode searching works (@test-climate_locations.R#199) 
  2. Error: printing of search results gives the correct information (@test-climate_locations.R#212) 
  
  Error: testthat unit tests failed
  Execution halted