Running 'testthat.R' [9s]
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()`
  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
  `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
  `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
  [ FAIL 3 | WARN 9 | SKIP 0 | PASS 10 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-get_climatedata.R:34:5'): files merge correctly ──────────────
  Expected `get_climatedata("squamish", 1980, "d")` to run without any errors.
  i Actually got a <simpleError> with text:
    no applicable method for 'tbl_vars' applied to an object of class "NULL"
  ── Failure ('test-get_climatedata.R:37:5'): files merge correctly ──────────────
  Expected `get_climatedata("squamish", 1990, "d")` to run without any errors.
  i Actually got a <simpleError> with text:
    no applicable method for 'tbl_vars' applied to an object of class "NULL"
  ── Failure ('test-get_climatedata.R:40:5'): files merge correctly ──────────────
  Expected `get_climatedata("squamish", 1990, "m")` to run without any errors.
  i Actually got a <simpleError> with text:
    no applicable method for 'tbl_vars' applied to an object of class "NULL"
  
  [ FAIL 3 | WARN 9 | SKIP 0 | PASS 10 ]
  Error: Test failures
  Execution halted