Running 'testthat.R' [157s/167s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(weathercan)
  > 
  > Sys.setenv("R_TESTS" = "")
  > 
  > test_check("weathercan")
  -- 1. Error: meta_html/raw (day) download meta data (@test_04_weather_raw.R#90) 
  Reader error: control characters are not allowed: #80 at 1657
  Backtrace:
    1. vcr::use_cassette(...)
    2. vcr::insert_cassette(...)
    3. Cassette$new(...)
    4. .subset2(public_bind_env, "initialize")(...)
    5. self$http_interactions()
    8. self$previously_recorded_interactions()
   14. self$deserialized_hash()
   15. self$serializer$deserialize_path()
   16. yaml::yaml.load(str)
  
  -- 2. Error: weather (day) gets all, one year (@test_06_weather_dl_2_day.R#43)  
  Reader error: control characters are not allowed: #80 at 15466
  Backtrace:
    1. vcr::use_cassette(...)
    2. vcr::insert_cassette(...)
    3. Cassette$new(...)
    4. .subset2(public_bind_env, "initialize")(...)
    5. self$http_interactions()
    8. self$previously_recorded_interactions()
   14. self$deserialized_hash()
   15. self$serializer$deserialize_path()
   16. yaml::yaml.load(str)
  
  -- 3. Error: weather (day) crosses the year line (@test_06_weather_dl_2_day.R#80
  Problem with `mutate()` input `html`.
  x 
  
  ================================================================================
  An HTTP request has been made that vcr does not know how to handle:
  GET https://climate.weather.gc.ca/climate_data/bulk_data_e.html?format=csv&stationID=54398&timeframe=2&submit=Download%2BData&Year=2016&Month=01
  There is currently no cassette in use. There are a few ways
  you can configure vcr to handle this request:
  
  Set `VCR_VERBOSE_ERRORS=TRUE` for more verbose errors
  If you're not sure what to do, open an issue https://github.com/ropensci/vcr/issues
  & see https://books.ropensci.org/http-testing
  ================================================================================
  
  
  i Input `html` is `purrr::map(...)`.
  Backtrace:
    1. testthat::expect_silent(...)
   39. base::.handleSimpleError(...)
   40. dplyr:::h(simpleError(msg, call))
  
  -- 4. Error: weather (day) trims NAs (@test_06_weather_dl_2_day.R#89)  ---------
  Problem with `mutate()` input `html`.
  x 
  
  ================================================================================
  An HTTP request has been made that vcr does not know how to handle:
  GET https://climate.weather.gc.ca/climate_data/bulk_data_e.html?format=csv&stationID=54398&timeframe=2&submit=Download%2BData&Year=2016&Month=01
  There is currently no cassette in use. There are a few ways
  you can configure vcr to handle this request:
  
  Set `VCR_VERBOSE_ERRORS=TRUE` for more verbose errors
  If you're not sure what to do, open an issue https://github.com/ropensci/vcr/issues
  & see https://books.ropensci.org/http-testing
  ================================================================================
  
  
  i Input `html` is `purrr::map(...)`.
  Backtrace:
    1. testthat::expect_silent(...)
   39. base::.handleSimpleError(...)
   40. dplyr:::h(simpleError(msg, call))
  
  -- 5. Error: weather (day) mutliple stations (@test_06_weather_dl_2_day.R#103)  
  Problem with `mutate()` input `html`.
  x 
  
  ================================================================================
  An HTTP request has been made that vcr does not know how to handle:
  GET https://climate.weather.gc.ca/climate_data/bulk_data_e.html?format=csv&stationID=54398&timeframe=2&submit=Download%2BData&Year=2016&Month=01
  vcr is currently using the following cassette:
    - ../fixtures/weather_day_51423_54398_2016.yml
      - record_mode: once
      - match_requests_on: method, uri
  Set `VCR_VERBOSE_ERRORS=TRUE` for more verbose errors
  If you're not sure what to do, open an issue https://github.com/ropensci/vcr/issues
  & see https://books.ropensci.org/http-testing
  ================================================================================
  
  
  i Input `html` is `purrr::map(...)`.
  Backtrace:
    1. testthat::expect_message(...)
   36. base::.handleSimpleError(...)
   37. dplyr:::h(simpleError(msg, call))
  
  -- 6. Error: weather (day) no data fails nicely (@test_06_weather_dl_2_day.R#114
  Reader error: control characters are not allowed: #80 at 76371
  Backtrace:
    1. vcr::use_cassette(...)
    2. vcr::insert_cassette(...)
    3. Cassette$new(...)
    4. .subset2(public_bind_env, "initialize")(...)
    5. self$http_interactions()
    8. self$previously_recorded_interactions()
   14. self$deserialized_hash()
   15. self$serializer$deserialize_path()
   16. yaml::yaml.load(str)
  
  -- 7. Error: weather (day) handles data with different numbers of columns (@test
  Reader error: control characters are not allowed: #80 at 172593
  Backtrace:
    1. vcr::use_cassette(...)
    2. vcr::insert_cassette(...)
    3. Cassette$new(...)
    4. .subset2(public_bind_env, "initialize")(...)
    5. self$http_interactions()
    8. self$previously_recorded_interactions()
   14. self$deserialized_hash()
   15. self$serializer$deserialize_path()
   16. yaml::yaml.load(str)
  
  -- 8. Error: weather (day) skips with message if end date < start date (@test_06
  Reader error: control characters are not allowed: #80 at 79463
  Backtrace:
    1. vcr::use_cassette(...)
    2. vcr::insert_cassette(...)
    3. Cassette$new(...)
    4. .subset2(public_bind_env, "initialize")(...)
    5. self$http_interactions()
    8. self$previously_recorded_interactions()
   14. self$deserialized_hash()
   15. self$serializer$deserialize_path()
   16. yaml::yaml.load(str)
  
  == testthat results  ===========================================================
  [ OK: 490 | SKIPPED: 12 | WARNINGS: 0 | FAILED: 8 ]
  1. Error: meta_html/raw (day) download meta data (@test_04_weather_raw.R#90) 
  2. Error: weather (day) gets all, one year (@test_06_weather_dl_2_day.R#43) 
  3. Error: weather (day) crosses the year line (@test_06_weather_dl_2_day.R#80) 
  4. Error: weather (day) trims NAs (@test_06_weather_dl_2_day.R#89) 
  5. Error: weather (day) mutliple stations (@test_06_weather_dl_2_day.R#103) 
  6. Error: weather (day) no data fails nicely (@test_06_weather_dl_2_day.R#114) 
  7. Error: weather (day) handles data with different numbers of columns (@test_06_weather_dl_2_day.R#193) 
  8. Error: weather (day) skips with message if end date < start date (@test_06_weather_dl_2_day.R#217) 
  
  Error: testthat unit tests failed
  Execution halted