Running 'testthat.R' [134s/143s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(weathercan)
  > 
  > Sys.setenv("R_TESTS" = "")
  > 
  > test_check("weathercan")
  -- 1. Failure: meta_html/raw (hour) download meta data (@test_04_weather_raw.R#7
  `meta <- meta_raw(meta, interval = "hour")` produced warnings.
  
  -- 2. 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)
  
  -- 3. Failure: meta_html/raw (month) download meta data (@test_04_weather_raw.R#
  `meta <- meta_raw(meta, interval = "month")` produced warnings.
  
  -- 4. Failure: weather (hour) returns a data frame (@test_06_weather_dl_1_hour.R
  `weather_dl(station_ids = 51423, start = "2014-01-01", end = "2014-01-31")` produced warnings.
  
  -- 5. Failure: weather (hour) formats timezone display (@test_06_weather_dl_1_ho
  `{ ... }` produced warnings.
  
  -- 6. Failure: weather (hour) formats NL timezone  -----------------------------
  `{ ... }` produced warnings.
  
  -- 7. Failure: weather (hour) multiple stations (@test_06_weather_dl_1_hour.R#70
  `{ ... }` produced warnings.
  
  -- 8. Failure: weather (hour) multiple stations (@test_06_weather_dl_1_hour.R#78
  `{ ... }` produced warnings.
  
  -- 9. Failure: weather (hour) multiple stations (@test_06_weather_dl_1_hour.R#88
  `{ ... }` produced warnings.
  
  -- 10. Failure: weather (hour) gets all (@test_06_weather_dl_1_hour.R#101)  ----
  `... <- NULL` produced warnings.
  
  -- 11. Failure: weather (hour) verbose and quiet (@test_06_weather_dl_1_hour.R#1
  `weather_dl(...)` produced warnings.
  
  -- 12. Failure: weather (hour) handles data with different numbers of columns (@
  `... <- NULL` produced warnings.
  
  -- 13. Failure: weather (hour) crosses the year line (@test_06_weather_dl_1_hour
  `... <- NULL` produced warnings.
  
  -- 14. 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)
  
  -- 15. Error: weather (day) crosses the year line (@test_06_weather_dl_2_day.R#8
  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))
  
  -- 16. 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))
  
  -- 17. 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))
  
  -- 18. Error: weather (day) no data fails nicely (@test_06_weather_dl_2_day.R#11
  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)
  
  -- 19. Failure: weather (day) verbose and quiet (@test_06_weather_dl_2_day.R#172
  `weather_dl(...)` produced warnings.
  
  -- 20. Error: weather (day) handles data with different numbers of columns (@tes
  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)
  
  -- 21. Error: weather (day) skips with message if end date < start date (@test_0
  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)
  
  -- 22. Failure: weather (month) returns a data frame (@test_06_weather_dl_3_mont
  `... <- NULL` produced warnings.
  
  -- 23. Failure: weather (month) no data fails nicely (@test_06_weather_dl_3_mont
  `expect_message(...)` produced warnings.
  
  -- 24. Failure: weather (month) no data fails nicely (@test_06_weather_dl_3_mont
  `expect_message(...)` produced warnings.
  
  -- 25. Failure: weather (month) no data fails nicely (@test_06_weather_dl_3_mont
  `expect_message(...)` produced warnings.
  
  -- 26. Failure: weather (month) multiple stations (@test_06_weather_dl_3_month.R
  `... <- NULL` produced warnings.
  
  -- 27. Failure: weather (month) verbose and quiet (@test_06_weather_dl_3_month.R
  `weather_dl(...)` produced warnings.
  
  -- 28. Failure: weather (month) handles data with different numbers of columns (
  `... <- NULL` produced warnings.
  
  -- 29. Failure: weather (month) handles data with different numbers of columns (
  `... <- NULL` produced warnings.
  
  -- 30. Failure: weather (month) crosses the year line (@test_06_weather_dl_3_mon
  `... <- NULL` produced warnings.
  
  -- 31. Failure: weather_dl() month format = FALSE (@test_07_weather_args.R#56)  
  `... <- NULL` produced warnings.
  
  -- 32. Failure: weather_dl() month string_as = NULL (@test_07_weather_args.R#83)
  `expect_message(...)` generated warnings:
  * unable to translate '<U+FEFF>Station Name	MERCIER
  Province	QUEBEC
  Latitude	45.32
  Longitude	-73.78
  Elevation	30.50
  Climate Identifier	7024878
  WMO Identifier	
  TC Identifier	
  
  Legend
  B	More than one occurrence and estimated
  E	Estimated
  M	Missing
  S	More than one occurrence
  T	Trace
  [empty]	Indicates an unobserved value
  ^	The value displayed is based on incomplete data' to native encoding
  
  == testthat results  ===========================================================
  [ OK: 466 | SKIPPED: 12 | WARNINGS: 33 | FAILED: 32 ]
  1. Failure: meta_html/raw (hour) download meta data (@test_04_weather_raw.R#76) 
  2. Error: meta_html/raw (day) download meta data (@test_04_weather_raw.R#90) 
  3. Failure: meta_html/raw (month) download meta data (@test_04_weather_raw.R#110) 
  4. Failure: weather (hour) returns a data frame (@test_06_weather_dl_1_hour.R#19) 
  5. Failure: weather (hour) formats timezone display (@test_06_weather_dl_1_hour.R#49) 
  6. Failure: weather (hour) formats NL timezone 
  7. Failure: weather (hour) multiple stations (@test_06_weather_dl_1_hour.R#70) 
  8. Failure: weather (hour) multiple stations (@test_06_weather_dl_1_hour.R#78) 
  9. Failure: weather (hour) multiple stations (@test_06_weather_dl_1_hour.R#88) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted