Running ‘testthat.R’ [5s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(chcd)
  > 
  > test_check("chcd")
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  Missing columns in download file
  `curl` package not installed, falling back to using `url()`
  Missing columns in download file
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  Missing columns in download file
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  `curl` package not installed, falling back to using `url()`
  Missing columns in download file
  `curl` package not installed, falling back to using `url()`
  Missing columns in download file
  `curl` package not installed, falling back to using `url()`
  Missing columns in download file
  Saving _problems/test-get_climatedata-40.R
  [ FAIL 1 | WARN 6 | SKIP 0 | PASS 12 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-get_climatedata.R:40:5'): files merge correctly ──────────────
  Expected `get_climatedata("squamish", 1990, "m")` not to throw any errors.
  Actually got a <simpleError> with message:
    no applicable method for 'tbl_vars' applied to an object of class "NULL"
  
  [ FAIL 1 | WARN 6 | SKIP 0 | PASS 12 ]
  Error:
  ! Test failures.
  Execution halted