Running 'testthat.R' [19s/42s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(weathercan)
  > 
  > Sys.setenv("R_TESTS" = "")
  > 
  > test_check("weathercan")
  -- 1. Error: weather_dl hour alerts to change in time handling (@test_06_weather
  'where' must be an environment
  Backtrace:
    1. testthat::expect_message(...)
    6. weathercan::weather_dl(...)
    7. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   16. ellipsis::check_dots_used()
   18. ellipsis:::exit_handler(action)
   19. base::bquote(...)
  
  -- 2. Error: weather (hour) returns a data frame (@test_06_weather_dl.R#25)  ---
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 3. Error: weather (hour) formats timezone display (@test_06_weather_dl.R#58) 
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 4. Error: weather (hour) formats NL timezone (@test_06_weather_dl.R#70)  ----
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 5. Error: weather (hour) multiple stations (@test_06_weather_dl.R#86)  ------
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 6. Error: weather (hour) formats time_disp with multiple stations (@test_06_w
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 7. Error: weather (hour) gets all (@test_06_weather_dl.R#122)  --------------
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 8. Error: weather (hour) trims NAs (@test_06_weather_dl.R#139)  -------------
  'where' must be an environment
  Backtrace:
    1. testthat::expect_equal(...)
    5. weathercan::weather_dl(...)
    6. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   15. ellipsis::check_dots_used()
   17. ellipsis:::exit_handler(action)
   18. base::bquote(...)
  
  -- 9. Error: weather (hour) verbose and quiet (@test_06_weather_dl.R#195)  -----
  'where' must be an environment
  Backtrace:
    1. testthat::expect_message(...)
    6. weathercan::weather_dl(...)
    7. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   16. ellipsis::check_dots_used()
   18. ellipsis:::exit_handler(action)
   19. base::bquote(...)
  
  -- 10. Error: weather (day) returns a data frame (@test_06_weather_dl.R#254)  --
  'where' must be an environment
  Backtrace:
    1. testthat::expect_message(...)
    6. weathercan::weather_dl(...)
    7. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   16. ellipsis::check_dots_used()
   18. ellipsis:::exit_handler(action)
   19. base::bquote(...)
  
  -- 11. Error: weather (day) gets all, one year (@test_06_weather_dl.R#288)  ----
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 12. Error: weather (day) crosses the year line (@test_06_weather_dl.R#327)  -
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 13. Error: weather (day) trims NAs (@test_06_weather_dl.R#339)  -------------
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 14. Error: weather (day) mutliple stations (@test_06_weather_dl.R#358)  -----
  'where' must be an environment
  Backtrace:
    1. testthat::expect_message(...)
    6. weathercan::weather_dl(...)
    7. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   16. ellipsis::check_dots_used()
   18. ellipsis:::exit_handler(action)
   19. base::bquote(...)
  
  -- 15. Error: weather (day) verbose and quiet (@test_06_weather_dl.R#425)  -----
  'where' must be an environment
  Backtrace:
    1. testthat::expect_message(...)
    6. weathercan::weather_dl(...)
    7. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   16. ellipsis::check_dots_used()
   18. ellipsis:::exit_handler(action)
   19. base::bquote(...)
  
  -- 16. Error: weather (month) returns a data frame (@test_06_weather_dl.R#492)  
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 17. Error: weather (month) multiple stations (@test_06_weather_dl.R#580)  ---
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 18. Failure: weather (month) multiple stations (one NA) (@test_06_weather_dl.
  `... <- NULL` threw an error.
  Message: 'where' must be an environment
  Class:   simpleError/error/condition
  Backtrace:
    1. testthat::expect_message(...)
   11. weathercan::weather_dl(...)
   12. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   21. ellipsis::check_dots_used()
   23. ellipsis:::exit_handler(action)
   24. base::bquote(...)
  
  -- 19. Failure: weather (month) multiple stations (one NA) (@test_06_weather_dl.
  `expect_error(...)` did not produce any messages.
  
  -- 20. Error: weather (month) multiple stations (one NA) (@test_06_weather_dl.R#
  object 'w' not found
  Backtrace:
   1. testthat::expect_equal(unique(w$station_name), c("MAGOG"))
   4. base::unique(w$station_name)
  
  -- 21. Error: weather (month) verbose and quiet (@test_06_weather_dl.R#616)  ---
  'where' must be an environment
  Backtrace:
    1. testthat::expect_message(...)
    6. weathercan::weather_dl(...)
    7. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   16. ellipsis::check_dots_used()
   18. ellipsis:::exit_handler(action)
   19. base::bquote(...)
  
  -- 22. Error: weather (month) crosses the year line (@test_06_weather_dl.R#672) 
  'where' must be an environment
  Backtrace:
    1. testthat::expect_silent(...)
    9. weathercan::weather_dl(...)
   10. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   19. ellipsis::check_dots_used()
   21. ellipsis:::exit_handler(action)
   22. base::bquote(...)
  
  -- 23. Error: list_col=TRUE and interval=hour groups on the right level  -------
  'where' must be an environment
  Backtrace:
    1. weathercan::weather_dl(...)
    2. weathercan:::weather_format(...)
    3. tidyr::gather(...)
   10. tidyr::separate(...)
   11. ellipsis::check_dots_used()
   13. ellipsis:::exit_handler(action)
   14. base::bquote(...)
  
  -- 24. Error: list_col=TRUE and interval=day groups on the right level  --------
  'where' must be an environment
  Backtrace:
    1. weathercan::weather_dl(...)
    2. weathercan:::weather_format(...)
    3. tidyr::gather(...)
   10. tidyr::separate(...)
   11. ellipsis::check_dots_used()
   13. ellipsis:::exit_handler(action)
   14. base::bquote(...)
  
  -- 25. Error: list_col=TRUE and interval=month groups on the right level  ------
  'where' must be an environment
  Backtrace:
    1. weathercan::weather_dl(...)
    2. weathercan:::weather_format(...)
    3. tidyr::gather(...)
   10. tidyr::separate(...)
   11. ellipsis::check_dots_used()
   13. ellipsis:::exit_handler(action)
   14. base::bquote(...)
  
  -- 26. Error: weather_dl() month string_as = NULL (@test_07_weather_args.R#94)  
  'where' must be an environment
  Backtrace:
    1. testthat::expect_warning(...)
   11. weathercan::weather_dl(...)
   12. weathercan:::weather_format(...)
    4. tidyr::gather(...)
   11. tidyr::separate(...)
   21. ellipsis::check_dots_used()
   23. ellipsis:::exit_handler(action)
   24. base::bquote(...)
  
  == testthat results  ===========================================================
  [ OK: 381 | SKIPPED: 17 | WARNINGS: 0 | FAILED: 26 ]
  1. Error: weather_dl hour alerts to change in time handling (@test_06_weather_dl.R#14) 
  2. Error: weather (hour) returns a data frame (@test_06_weather_dl.R#25) 
  3. Error: weather (hour) formats timezone display (@test_06_weather_dl.R#58) 
  4. Error: weather (hour) formats NL timezone (@test_06_weather_dl.R#70) 
  5. Error: weather (hour) multiple stations (@test_06_weather_dl.R#86) 
  6. Error: weather (hour) formats time_disp with multiple stations (@test_06_weather_dl.R#101) 
  7. Error: weather (hour) gets all (@test_06_weather_dl.R#122) 
  8. Error: weather (hour) trims NAs (@test_06_weather_dl.R#139) 
  9. Error: weather (hour) verbose and quiet (@test_06_weather_dl.R#195) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted