Running ‘test-all.R’ [18s/69s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > 
  > library(testthat)
  > 
  > test_check("rclimateca")
  Loading required package: rclimateca
  ── 1. Failure: column types for ec_climate_data() are correct (@test-climate_dat
  hourly$data_quality inherits from `NULL` not `character`.
  
  ── 2. Failure: get mudata function for climate data works (@test-climate_data.R#
  colnames(mudata2::tbl_data(hourly)) not equal to c(...).
  Lengths differ: 7 is not 8
  
  ── 3. 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")
  
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |=======================                                               |  33%
    |                                                                            
    |===============================================                       |  67%
    |                                                                            
    |======================================================================| 100%
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 185 SKIPPED: 0 FAILED: 3
  1. Failure: column types for ec_climate_data() are correct (@test-climate_data.R#123) 
  2. Failure: get mudata function for climate data works (@test-climate_data.R#463) 
  3. Error: geocode searching works (@test-climate_locations.R#199) 
  
  Error: testthat unit tests failed
  Execution halted