Last updated on 2021-07-04 08:50:19 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.6.1 | ERROR | ||||
r-devel-linux-x86_64-debian-gcc | 0.6.1 | 9.15 | 283.90 | 293.05 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.6.1 | 465.18 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.6.1 | 455.00 | NOTE | |||
r-devel-windows-x86_64 | 0.6.1 | 25.00 | 456.00 | 481.00 | OK | |
r-devel-windows-x86_64-gcc10-UCRT | 0.6.1 | ERROR | ||||
r-patched-linux-x86_64 | 0.6.1 | 10.69 | 358.74 | 369.43 | ERROR | |
r-patched-solaris-x86 | 0.6.1 | 549.90 | NOTE | |||
r-release-linux-x86_64 | 0.6.1 | 8.73 | 363.99 | 372.72 | ERROR | |
r-release-macos-arm64 | 0.6.1 | NOTE | ||||
r-release-macos-x86_64 | 0.6.1 | NOTE | ||||
r-release-windows-ix86+x86_64 | 0.6.1 | 22.00 | 443.00 | 465.00 | OK | |
r-oldrel-macos-x86_64 | 0.6.1 | NOTE | ||||
r-oldrel-windows-ix86+x86_64 | 0.6.1 | 23.00 | 479.00 | 502.00 | OK |
Version: 0.6.1
Check: tests
Result: ERROR
Running 'testthat.R' [240s/252s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(weathercan)
weathercan v0.6.1
The included data `stations` has been deprecated in favour of the function `stations()`.
See ?stations for more details.
>
> Sys.setenv("R_TESTS" = "")
>
> test_check("weathercan")
== Skipped tests ===============================================================
* On CRAN (7)
== Failed tests ================================================================
-- Failure (test_02_utils.R:19:3): check_ids() as expected ---------------------
`check_ids(1795, stations(), type = "station_id")` produced messages.
-- Failure (test_02_utils.R:20:3): check_ids() as expected ---------------------
`check_ids("301AR54", stations(), type = "climate_id")` produced messages.
-- Failure (test_03_station_dl.R:64:2): stations() /stations_meta() return data --
`s <- stations()` produced messages.
Backtrace:
x
1. +-expect_silent(s <- stations()) %>% expect_s3_class("data.frame") test_03_station_dl.R:64:1
2. +-testthat::expect_s3_class(., "data.frame")
3. | \-testthat::quasi_label(enquo(object), arg = "object")
4. | \-rlang::eval_bare(expr, quo_get_env(quo))
5. \-testthat::expect_silent(s <- stations())
-- Failure (test_03_station_dl.R:170:3): stations_search quiet/verbose ---------
`stations_search(c(54, -122), quiet = TRUE)` produced messages.
-- Failure (test_03_station_dl.R:171:3): stations_search quiet/verbose ---------
`stations_search(coords = c(54, -122), quiet = TRUE)` produced messages.
-- Failure (test_03_station_dl.R:234:3): stations_search returns normals only --
`s <- stations_search("Brandon", normals_years = "current")` produced messages.
-- Failure (test_03_station_dl.R:239:3): stations_search returns normals only --
`s1 <- stations_search("Brandon", normals_years = "1981-2010")` produced messages.
-- Failure (test_03_station_dl.R:243:3): stations_search returns normals only --
`s2 <- stations_search("Brandon", normals_years = "1971-2000")` produced messages.
-- Failure (test_06_weather_dl_1_hour.R:19:3): weather (hour) returns a data frame --
`weather_dl(station_ids = 51423, start = "2014-01-01", end = "2014-01-31")` produced messages.
-- Failure (test_06_weather_dl_1_hour.R:49:3): weather (hour) formats timezone display --
`{ ... }` produced messages.
-- Failure (test_06_weather_dl_1_hour.R:57:3): weather (hour) formats NL timezone --
`{ ... }` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_1_hour.R:57:2
2. | \-cassette$call_block(...)
3. +-`%>%`(...) test_06_weather_dl_1_hour.R:58:4
4. +-testthat::expect_is(., "data.frame")
5. | \-testthat::quasi_label(enquo(object), label, arg = "object")
6. | \-rlang::eval_bare(expr, quo_get_env(quo))
7. \-testthat::expect_silent(...)
-- Failure (test_06_weather_dl_1_hour.R:69:3): weather (hour) multiple stations --
`{ ... }` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_1_hour.R:69:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_06_weather_dl_1_hour.R:70:4
-- Failure (test_06_weather_dl_1_hour.R:78:3): weather (hour) multiple stations --
`{ ... }` produced messages.
-- Failure (test_06_weather_dl_1_hour.R:88:3): weather (hour) multiple stations --
`{ ... }` produced messages.
-- Failure (test_06_weather_dl_1_hour.R:100:3): weather (hour) gets all --------
`... <- NULL` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_1_hour.R:100:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_06_weather_dl_1_hour.R:101:4
-- Failure (test_06_weather_dl_1_hour.R:175:3): weather (hour) verbose and quiet --
`weather_dl(...)` produced messages.
-- Failure (test_06_weather_dl_1_hour.R:186:3): weather (hour) handles data with different numbers of columns --
`... <- NULL` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_1_hour.R:186:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_06_weather_dl_1_hour.R:187:4
-- Failure (test_06_weather_dl_1_hour.R:210:3): weather (hour) crosses the year line --
`... <- NULL` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_1_hour.R:210:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_06_weather_dl_1_hour.R:211:4
-- Failure (test_06_weather_dl_2_day.R:43:3): weather (day) gets all, one year --
`... <- NULL` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_2_day.R:43:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_06_weather_dl_2_day.R:44:4
-- Failure (test_06_weather_dl_2_day.R:53:3): weather (day) gets all, one year --
`weather_dl(...)` produced messages.
-- Failure (test_06_weather_dl_2_day.R:69:3): weather (day) gets all, one year --
`... <- NULL` produced messages.
-- Failure (test_06_weather_dl_2_day.R:80:3): weather (day) crosses the year line --
`... <- NULL` produced messages.
-- Failure (test_06_weather_dl_2_day.R:89:3): weather (day) trims NAs ----------
`... <- NULL` produced messages.
-- Failure (test_06_weather_dl_2_day.R:92:3): weather (day) trims NAs ----------
`... <- NULL` produced messages.
-- Failure (test_06_weather_dl_2_day.R:172:3): weather (day) verbose and quiet --
`weather_dl(...)` produced messages.
-- Failure (test_06_weather_dl_3_month.R:6:3): weather (month) returns a data frame --
`... <- NULL` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_3_month.R:6:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_06_weather_dl_3_month.R:7:4
-- Failure (test_06_weather_dl_3_month.R:86:3): weather (month) multiple stations --
`... <- NULL` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_3_month.R:86:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_06_weather_dl_3_month.R:87:4
-- Failure (test_06_weather_dl_3_month.R:111:3): weather (month) verbose and quiet --
`weather_dl(...)` produced messages.
-- Failure (test_06_weather_dl_3_month.R:123:3): weather (month) handles data with different numbers of columns --
`... <- NULL` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_3_month.R:123:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_06_weather_dl_3_month.R:124:4
-- Failure (test_06_weather_dl_3_month.R:132:3): weather (month) handles data with different numbers of columns --
`... <- NULL` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_06_weather_dl_3_month.R:132:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_06_weather_dl_3_month.R:133:4
-- Failure (test_06_weather_dl_3_month.R:161:3): weather (month) crosses the year line --
`... <- NULL` produced messages.
-- Failure (test_07_weather_args.R:55:3): weather_dl() month format = FALSE ----
`... <- NULL` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_07_weather_args.R:55:2
2. | \-cassette$call_block(...)
3. \-testthat::expect_silent(...) test_07_weather_args.R:56:4
-- Failure (test_08_normals.R:196:3): normals_dl() downloads normals/frost dates as tibble - single --
`nd <- normals_dl(climate_id = "5010480")` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_08_normals.R:196:2
2. | \-cassette$call_block(...)
3. +-expect_silent(nd <- normals_dl(climate_id = "5010480")) %>% expect_is("tbl_df") test_08_normals.R:197:4
4. +-testthat::expect_is(., "tbl_df")
5. | \-testthat::quasi_label(enquo(object), label, arg = "object")
6. | \-rlang::eval_bare(expr, quo_get_env(quo))
7. \-testthat::expect_silent(nd <- normals_dl(climate_id = "5010480"))
-- Failure (test_08_normals.R:202:3): normals_dl() downloads normals/frost dates as tibble - single --
`nd <- normals_dl(climate_id = "5010480", normals_years = "1971-2000")` produced messages.
Backtrace:
x
1. +-vcr::use_cassette(...) test_08_normals.R:202:2
2. | \-cassette$call_block(...)
3. +-`%>%`(...) test_08_normals.R:203:4
4. +-testthat::expect_is(., "tbl_df")
5. | \-testthat::quasi_label(enquo(object), label, arg = "object")
6. | \-rlang::eval_bare(expr, quo_get_env(quo))
7. \-testthat::expect_silent(...)
-- Failure (test_08_normals.R:211:5): normals_dl() downloads normals/frost dates as tibble - multi 1981 --
`nd <- normals_dl(climate_id = c("2403500", "5010480", "1096450"))` produced messages.
Backtrace:
x
1. +-`%>%`(...) test_08_normals.R:211:4
2. +-testthat::expect_is(., "tbl_df")
3. | \-testthat::quasi_label(enquo(object), label, arg = "object")
4. | \-rlang::eval_bare(expr, quo_get_env(quo))
5. \-testthat::expect_silent(...)
-- Failure (test_08_normals.R:229:5): normals_dl() downloads normals/frost dates as tibble - multi 1971 --
`... <- NULL` produced messages.
Backtrace:
x
1. +-`%>%`(...) test_08_normals.R:229:4
2. +-testthat::expect_is(., "tbl_df")
3. | \-testthat::quasi_label(enquo(object), label, arg = "object")
4. | \-rlang::eval_bare(expr, quo_get_env(quo))
5. \-testthat::expect_silent(...)
-- Failure (test_08_normals.R:250:5): normals_dl() gets extreme wind chill correctly --
`nd <- normals_dl(climate_id = "2100517")` produced messages.
Backtrace:
x
1. +-expect_silent(nd <- normals_dl(climate_id = "2100517")) %>% expect_is("tbl_df") test_08_normals.R:250:4
2. +-testthat::expect_is(., "tbl_df")
3. | \-testthat::quasi_label(enquo(object), label, arg = "object")
4. | \-rlang::eval_bare(expr, quo_get_env(quo))
5. \-testthat::expect_silent(nd <- normals_dl(climate_id = "2100517"))
[ FAIL 37 | WARN 0 | SKIP 7 | PASS 634 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.6.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [182s/254s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(weathercan)
weathercan v0.6.1
The included data `stations` has been deprecated in favour of the function `stations()`.
See ?stations for more details.
>
> Sys.setenv("R_TESTS" = "")
>
> test_check("weathercan")
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (7)
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test_02_utils.R:19:3): check_ids() as expected ─────────────────────
`check_ids(1795, stations(), type = "station_id")` produced messages.
── Failure (test_02_utils.R:20:3): check_ids() as expected ─────────────────────
`check_ids("301AR54", stations(), type = "climate_id")` produced messages.
── Failure (test_03_station_dl.R:64:2): stations() /stations_meta() return data ──
`s <- stations()` produced messages.
Backtrace:
█
1. ├─expect_silent(s <- stations()) %>% expect_s3_class("data.frame") test_03_station_dl.R:64:1
2. ├─testthat::expect_s3_class(., "data.frame")
3. │ └─testthat::quasi_label(enquo(object), arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(s <- stations())
── Failure (test_03_station_dl.R:170:3): stations_search quiet/verbose ─────────
`stations_search(c(54, -122), quiet = TRUE)` produced messages.
── Failure (test_03_station_dl.R:171:3): stations_search quiet/verbose ─────────
`stations_search(coords = c(54, -122), quiet = TRUE)` produced messages.
── Failure (test_03_station_dl.R:234:3): stations_search returns normals only ──
`s <- stations_search("Brandon", normals_years = "current")` produced messages.
── Failure (test_03_station_dl.R:239:3): stations_search returns normals only ──
`s1 <- stations_search("Brandon", normals_years = "1981-2010")` produced messages.
── Failure (test_03_station_dl.R:243:3): stations_search returns normals only ──
`s2 <- stations_search("Brandon", normals_years = "1971-2000")` produced messages.
── Failure (test_06_weather_dl_1_hour.R:19:3): weather (hour) returns a data frame ──
`weather_dl(station_ids = 51423, start = "2014-01-01", end = "2014-01-31")` produced messages.
── Failure (test_06_weather_dl_1_hour.R:49:3): weather (hour) formats timezone display ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:57:3): weather (hour) formats NL timezone ──
`{ ... }` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:57:2
2. │ └─cassette$call_block(...)
3. ├─`%>%`(...) test_06_weather_dl_1_hour.R:58:4
4. ├─testthat::expect_is(., "data.frame")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(...)
── Failure (test_06_weather_dl_1_hour.R:69:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:69:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:70:4
── Failure (test_06_weather_dl_1_hour.R:78:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:88:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:100:3): weather (hour) gets all ────────
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:100:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:101:4
── Failure (test_06_weather_dl_1_hour.R:175:3): weather (hour) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_1_hour.R:186:3): weather (hour) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:186:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:187:4
── Failure (test_06_weather_dl_1_hour.R:210:3): weather (hour) crosses the year line ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:210:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:211:4
── Failure (test_06_weather_dl_2_day.R:43:3): weather (day) gets all, one year ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_2_day.R:43:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_2_day.R:44:4
── Failure (test_06_weather_dl_2_day.R:53:3): weather (day) gets all, one year ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_2_day.R:69:3): weather (day) gets all, one year ──
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:80:3): weather (day) crosses the year line ──
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:89:3): weather (day) trims NAs ──────────
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:92:3): weather (day) trims NAs ──────────
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:172:3): weather (day) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_3_month.R:6:3): weather (month) returns a data frame ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:6:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:7:4
── Failure (test_06_weather_dl_3_month.R:86:3): weather (month) multiple stations ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:86:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:87:4
── Failure (test_06_weather_dl_3_month.R:111:3): weather (month) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_3_month.R:123:3): weather (month) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:123:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:124:4
── Failure (test_06_weather_dl_3_month.R:132:3): weather (month) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:132:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:133:4
── Failure (test_06_weather_dl_3_month.R:161:3): weather (month) crosses the year line ──
`... <- NULL` produced messages.
── Failure (test_07_weather_args.R:55:3): weather_dl() month format = FALSE ────
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_07_weather_args.R:55:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_07_weather_args.R:56:4
── Failure (test_08_normals.R:196:3): normals_dl() downloads normals/frost dates as tibble - single ──
`nd <- normals_dl(climate_id = "5010480")` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_08_normals.R:196:2
2. │ └─cassette$call_block(...)
3. ├─expect_silent(nd <- normals_dl(climate_id = "5010480")) %>% expect_is("tbl_df") test_08_normals.R:197:4
4. ├─testthat::expect_is(., "tbl_df")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(nd <- normals_dl(climate_id = "5010480"))
── Failure (test_08_normals.R:202:3): normals_dl() downloads normals/frost dates as tibble - single ──
`nd <- normals_dl(climate_id = "5010480", normals_years = "1971-2000")` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_08_normals.R:202:2
2. │ └─cassette$call_block(...)
3. ├─`%>%`(...) test_08_normals.R:203:4
4. ├─testthat::expect_is(., "tbl_df")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:211:5): normals_dl() downloads normals/frost dates as tibble - multi 1981 ──
`nd <- normals_dl(climate_id = c("2403500", "5010480", "1096450"))` produced messages.
Backtrace:
█
1. ├─`%>%`(...) test_08_normals.R:211:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:229:5): normals_dl() downloads normals/frost dates as tibble - multi 1971 ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─`%>%`(...) test_08_normals.R:229:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:250:5): normals_dl() gets extreme wind chill correctly ──
`nd <- normals_dl(climate_id = "2100517")` produced messages.
Backtrace:
█
1. ├─expect_silent(nd <- normals_dl(climate_id = "2100517")) %>% expect_is("tbl_df") test_08_normals.R:250:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(nd <- normals_dl(climate_id = "2100517"))
[ FAIL 37 | WARN 0 | SKIP 7 | PASS 634 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 0.6.1
Check: data for non-ASCII characters
Result: NOTE
Note: found 3 marked UTF-8 strings
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-gcc10-UCRT, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 0.6.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [285s/366s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(weathercan)
weathercan v0.6.1
The included data `stations` has been deprecated in favour of the function `stations()`.
See ?stations for more details.
>
> Sys.setenv("R_TESTS" = "")
>
> test_check("weathercan")
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (7)
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test_02_utils.R:19:3): check_ids() as expected ─────────────────────
`check_ids(1795, stations(), type = "station_id")` produced messages.
── Failure (test_02_utils.R:20:3): check_ids() as expected ─────────────────────
`check_ids("301AR54", stations(), type = "climate_id")` produced messages.
── Failure (test_03_station_dl.R:64:2): stations() /stations_meta() return data ──
`s <- stations()` produced messages.
Backtrace:
█
1. ├─expect_silent(s <- stations()) %>% expect_s3_class("data.frame") test_03_station_dl.R:64:1
2. ├─testthat::expect_s3_class(., "data.frame")
3. │ └─testthat::quasi_label(enquo(object), arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(s <- stations())
── Failure (test_03_station_dl.R:170:3): stations_search quiet/verbose ─────────
`stations_search(c(54, -122), quiet = TRUE)` produced messages.
── Failure (test_03_station_dl.R:171:3): stations_search quiet/verbose ─────────
`stations_search(coords = c(54, -122), quiet = TRUE)` produced messages.
── Failure (test_03_station_dl.R:234:3): stations_search returns normals only ──
`s <- stations_search("Brandon", normals_years = "current")` produced messages.
── Failure (test_03_station_dl.R:239:3): stations_search returns normals only ──
`s1 <- stations_search("Brandon", normals_years = "1981-2010")` produced messages.
── Failure (test_03_station_dl.R:243:3): stations_search returns normals only ──
`s2 <- stations_search("Brandon", normals_years = "1971-2000")` produced messages.
── Failure (test_06_weather_dl_1_hour.R:19:3): weather (hour) returns a data frame ──
`weather_dl(station_ids = 51423, start = "2014-01-01", end = "2014-01-31")` produced messages.
── Failure (test_06_weather_dl_1_hour.R:49:3): weather (hour) formats timezone display ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:57:3): weather (hour) formats NL timezone ──
`{ ... }` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:57:2
2. │ └─cassette$call_block(...)
3. ├─`%>%`(...) test_06_weather_dl_1_hour.R:58:4
4. ├─testthat::expect_is(., "data.frame")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(...)
── Failure (test_06_weather_dl_1_hour.R:69:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:69:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:70:4
── Failure (test_06_weather_dl_1_hour.R:78:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:88:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:100:3): weather (hour) gets all ────────
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:100:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:101:4
── Failure (test_06_weather_dl_1_hour.R:175:3): weather (hour) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_1_hour.R:186:3): weather (hour) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:186:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:187:4
── Failure (test_06_weather_dl_1_hour.R:210:3): weather (hour) crosses the year line ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:210:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:211:4
── Failure (test_06_weather_dl_2_day.R:43:3): weather (day) gets all, one year ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_2_day.R:43:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_2_day.R:44:4
── Failure (test_06_weather_dl_2_day.R:53:3): weather (day) gets all, one year ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_2_day.R:69:3): weather (day) gets all, one year ──
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:80:3): weather (day) crosses the year line ──
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:89:3): weather (day) trims NAs ──────────
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:92:3): weather (day) trims NAs ──────────
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:172:3): weather (day) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_3_month.R:6:3): weather (month) returns a data frame ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:6:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:7:4
── Failure (test_06_weather_dl_3_month.R:86:3): weather (month) multiple stations ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:86:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:87:4
── Failure (test_06_weather_dl_3_month.R:111:3): weather (month) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_3_month.R:123:3): weather (month) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:123:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:124:4
── Failure (test_06_weather_dl_3_month.R:132:3): weather (month) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:132:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:133:4
── Failure (test_06_weather_dl_3_month.R:161:3): weather (month) crosses the year line ──
`... <- NULL` produced messages.
── Failure (test_07_weather_args.R:55:3): weather_dl() month format = FALSE ────
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_07_weather_args.R:55:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_07_weather_args.R:56:4
── Failure (test_08_normals.R:196:3): normals_dl() downloads normals/frost dates as tibble - single ──
`nd <- normals_dl(climate_id = "5010480")` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_08_normals.R:196:2
2. │ └─cassette$call_block(...)
3. ├─expect_silent(nd <- normals_dl(climate_id = "5010480")) %>% expect_is("tbl_df") test_08_normals.R:197:4
4. ├─testthat::expect_is(., "tbl_df")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(nd <- normals_dl(climate_id = "5010480"))
── Failure (test_08_normals.R:202:3): normals_dl() downloads normals/frost dates as tibble - single ──
`nd <- normals_dl(climate_id = "5010480", normals_years = "1971-2000")` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_08_normals.R:202:2
2. │ └─cassette$call_block(...)
3. ├─`%>%`(...) test_08_normals.R:203:4
4. ├─testthat::expect_is(., "tbl_df")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:211:5): normals_dl() downloads normals/frost dates as tibble - multi 1981 ──
`nd <- normals_dl(climate_id = c("2403500", "5010480", "1096450"))` produced messages.
Backtrace:
█
1. ├─`%>%`(...) test_08_normals.R:211:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:229:5): normals_dl() downloads normals/frost dates as tibble - multi 1971 ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─`%>%`(...) test_08_normals.R:229:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:250:5): normals_dl() gets extreme wind chill correctly ──
`nd <- normals_dl(climate_id = "2100517")` produced messages.
Backtrace:
█
1. ├─expect_silent(nd <- normals_dl(climate_id = "2100517")) %>% expect_is("tbl_df") test_08_normals.R:250:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(nd <- normals_dl(climate_id = "2100517"))
[ FAIL 37 | WARN 0 | SKIP 7 | PASS 634 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.6.1
Check: tests
Result: ERROR
Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
4. | \-rlang::eval_bare(expr, quo_get_env(quo))
5. \-testthat::expect_silent(...)
-- Failure (test_08_normals.R:250:5): normals_dl() gets extreme wind chill correctly --
`nd <- normals_dl(climate_id = "2100517")` produced messages.
Backtrace:
x
1. +-expect_silent(nd <- normals_dl(climate_id = "2100517")) %>% expect_is("tbl_df") test_08_normals.R:250:4
2. +-testthat::expect_is(., "tbl_df")
3. | \-testthat::quasi_label(enquo(object), label, arg = "object")
4. | \-rlang::eval_bare(expr, quo_get_env(quo))
5. \-testthat::expect_silent(nd <- normals_dl(climate_id = "2100517"))
[ FAIL 37 | WARN 0 | SKIP 7 | PASS 634 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64-gcc10-UCRT
Version: 0.6.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [230s/245s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(weathercan)
weathercan v0.6.1
The included data `stations` has been deprecated in favour of the function `stations()`.
See ?stations for more details.
>
> Sys.setenv("R_TESTS" = "")
>
> test_check("weathercan")
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (7)
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test_02_utils.R:19:3): check_ids() as expected ─────────────────────
`check_ids(1795, stations(), type = "station_id")` produced messages.
── Failure (test_02_utils.R:20:3): check_ids() as expected ─────────────────────
`check_ids("301AR54", stations(), type = "climate_id")` produced messages.
── Failure (test_03_station_dl.R:64:2): stations() /stations_meta() return data ──
`s <- stations()` produced messages.
Backtrace:
█
1. ├─expect_silent(s <- stations()) %>% expect_s3_class("data.frame") test_03_station_dl.R:64:1
2. ├─testthat::expect_s3_class(., "data.frame")
3. │ └─testthat::quasi_label(enquo(object), arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(s <- stations())
── Failure (test_03_station_dl.R:170:3): stations_search quiet/verbose ─────────
`stations_search(c(54, -122), quiet = TRUE)` produced messages.
── Failure (test_03_station_dl.R:171:3): stations_search quiet/verbose ─────────
`stations_search(coords = c(54, -122), quiet = TRUE)` produced messages.
── Failure (test_03_station_dl.R:234:3): stations_search returns normals only ──
`s <- stations_search("Brandon", normals_years = "current")` produced messages.
── Failure (test_03_station_dl.R:239:3): stations_search returns normals only ──
`s1 <- stations_search("Brandon", normals_years = "1981-2010")` produced messages.
── Failure (test_03_station_dl.R:243:3): stations_search returns normals only ──
`s2 <- stations_search("Brandon", normals_years = "1971-2000")` produced messages.
── Failure (test_06_weather_dl_1_hour.R:19:3): weather (hour) returns a data frame ──
`weather_dl(station_ids = 51423, start = "2014-01-01", end = "2014-01-31")` produced messages.
── Failure (test_06_weather_dl_1_hour.R:49:3): weather (hour) formats timezone display ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:57:3): weather (hour) formats NL timezone ──
`{ ... }` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:57:2
2. │ └─cassette$call_block(...)
3. ├─`%>%`(...) test_06_weather_dl_1_hour.R:58:4
4. ├─testthat::expect_is(., "data.frame")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(...)
── Failure (test_06_weather_dl_1_hour.R:69:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:69:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:70:4
── Failure (test_06_weather_dl_1_hour.R:78:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:88:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:100:3): weather (hour) gets all ────────
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:100:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:101:4
── Failure (test_06_weather_dl_1_hour.R:175:3): weather (hour) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_1_hour.R:186:3): weather (hour) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:186:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:187:4
── Failure (test_06_weather_dl_1_hour.R:210:3): weather (hour) crosses the year line ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:210:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:211:4
── Failure (test_06_weather_dl_2_day.R:43:3): weather (day) gets all, one year ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_2_day.R:43:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_2_day.R:44:4
── Failure (test_06_weather_dl_2_day.R:53:3): weather (day) gets all, one year ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_2_day.R:69:3): weather (day) gets all, one year ──
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:80:3): weather (day) crosses the year line ──
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:89:3): weather (day) trims NAs ──────────
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:92:3): weather (day) trims NAs ──────────
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:172:3): weather (day) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_3_month.R:6:3): weather (month) returns a data frame ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:6:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:7:4
── Failure (test_06_weather_dl_3_month.R:86:3): weather (month) multiple stations ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:86:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:87:4
── Failure (test_06_weather_dl_3_month.R:111:3): weather (month) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_3_month.R:123:3): weather (month) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:123:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:124:4
── Failure (test_06_weather_dl_3_month.R:132:3): weather (month) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:132:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:133:4
── Failure (test_06_weather_dl_3_month.R:161:3): weather (month) crosses the year line ──
`... <- NULL` produced messages.
── Failure (test_07_weather_args.R:55:3): weather_dl() month format = FALSE ────
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_07_weather_args.R:55:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_07_weather_args.R:56:4
── Failure (test_08_normals.R:196:3): normals_dl() downloads normals/frost dates as tibble - single ──
`nd <- normals_dl(climate_id = "5010480")` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_08_normals.R:196:2
2. │ └─cassette$call_block(...)
3. ├─expect_silent(nd <- normals_dl(climate_id = "5010480")) %>% expect_is("tbl_df") test_08_normals.R:197:4
4. ├─testthat::expect_is(., "tbl_df")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(nd <- normals_dl(climate_id = "5010480"))
── Failure (test_08_normals.R:202:3): normals_dl() downloads normals/frost dates as tibble - single ──
`nd <- normals_dl(climate_id = "5010480", normals_years = "1971-2000")` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_08_normals.R:202:2
2. │ └─cassette$call_block(...)
3. ├─`%>%`(...) test_08_normals.R:203:4
4. ├─testthat::expect_is(., "tbl_df")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:211:5): normals_dl() downloads normals/frost dates as tibble - multi 1981 ──
`nd <- normals_dl(climate_id = c("2403500", "5010480", "1096450"))` produced messages.
Backtrace:
█
1. ├─`%>%`(...) test_08_normals.R:211:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:229:5): normals_dl() downloads normals/frost dates as tibble - multi 1971 ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─`%>%`(...) test_08_normals.R:229:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:250:5): normals_dl() gets extreme wind chill correctly ──
`nd <- normals_dl(climate_id = "2100517")` produced messages.
Backtrace:
█
1. ├─expect_silent(nd <- normals_dl(climate_id = "2100517")) %>% expect_is("tbl_df") test_08_normals.R:250:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(nd <- normals_dl(climate_id = "2100517"))
[ FAIL 37 | WARN 0 | SKIP 7 | PASS 634 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.6.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [236s/253s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(weathercan)
weathercan v0.6.1
The included data `stations` has been deprecated in favour of the function `stations()`.
See ?stations for more details.
>
> Sys.setenv("R_TESTS" = "")
>
> test_check("weathercan")
══ Skipped tests ═══════════════════════════════════════════════════════════════
• On CRAN (7)
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure (test_02_utils.R:19:3): check_ids() as expected ─────────────────────
`check_ids(1795, stations(), type = "station_id")` produced messages.
── Failure (test_02_utils.R:20:3): check_ids() as expected ─────────────────────
`check_ids("301AR54", stations(), type = "climate_id")` produced messages.
── Failure (test_03_station_dl.R:64:2): stations() /stations_meta() return data ──
`s <- stations()` produced messages.
Backtrace:
█
1. ├─expect_silent(s <- stations()) %>% expect_s3_class("data.frame") test_03_station_dl.R:64:1
2. ├─testthat::expect_s3_class(., "data.frame")
3. │ └─testthat::quasi_label(enquo(object), arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(s <- stations())
── Failure (test_03_station_dl.R:170:3): stations_search quiet/verbose ─────────
`stations_search(c(54, -122), quiet = TRUE)` produced messages.
── Failure (test_03_station_dl.R:171:3): stations_search quiet/verbose ─────────
`stations_search(coords = c(54, -122), quiet = TRUE)` produced messages.
── Failure (test_03_station_dl.R:234:3): stations_search returns normals only ──
`s <- stations_search("Brandon", normals_years = "current")` produced messages.
── Failure (test_03_station_dl.R:239:3): stations_search returns normals only ──
`s1 <- stations_search("Brandon", normals_years = "1981-2010")` produced messages.
── Failure (test_03_station_dl.R:243:3): stations_search returns normals only ──
`s2 <- stations_search("Brandon", normals_years = "1971-2000")` produced messages.
── Failure (test_06_weather_dl_1_hour.R:19:3): weather (hour) returns a data frame ──
`weather_dl(station_ids = 51423, start = "2014-01-01", end = "2014-01-31")` produced messages.
── Failure (test_06_weather_dl_1_hour.R:49:3): weather (hour) formats timezone display ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:57:3): weather (hour) formats NL timezone ──
`{ ... }` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:57:2
2. │ └─cassette$call_block(...)
3. ├─`%>%`(...) test_06_weather_dl_1_hour.R:58:4
4. ├─testthat::expect_is(., "data.frame")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(...)
── Failure (test_06_weather_dl_1_hour.R:69:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:69:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:70:4
── Failure (test_06_weather_dl_1_hour.R:78:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:88:3): weather (hour) multiple stations ──
`{ ... }` produced messages.
── Failure (test_06_weather_dl_1_hour.R:100:3): weather (hour) gets all ────────
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:100:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:101:4
── Failure (test_06_weather_dl_1_hour.R:175:3): weather (hour) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_1_hour.R:186:3): weather (hour) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:186:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:187:4
── Failure (test_06_weather_dl_1_hour.R:210:3): weather (hour) crosses the year line ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_1_hour.R:210:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_1_hour.R:211:4
── Failure (test_06_weather_dl_2_day.R:43:3): weather (day) gets all, one year ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_2_day.R:43:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_2_day.R:44:4
── Failure (test_06_weather_dl_2_day.R:53:3): weather (day) gets all, one year ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_2_day.R:69:3): weather (day) gets all, one year ──
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:80:3): weather (day) crosses the year line ──
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:89:3): weather (day) trims NAs ──────────
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:92:3): weather (day) trims NAs ──────────
`... <- NULL` produced messages.
── Failure (test_06_weather_dl_2_day.R:172:3): weather (day) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_3_month.R:6:3): weather (month) returns a data frame ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:6:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:7:4
── Failure (test_06_weather_dl_3_month.R:86:3): weather (month) multiple stations ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:86:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:87:4
── Failure (test_06_weather_dl_3_month.R:111:3): weather (month) verbose and quiet ──
`weather_dl(...)` produced messages.
── Failure (test_06_weather_dl_3_month.R:123:3): weather (month) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:123:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:124:4
── Failure (test_06_weather_dl_3_month.R:132:3): weather (month) handles data with different numbers of columns ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_06_weather_dl_3_month.R:132:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_06_weather_dl_3_month.R:133:4
── Failure (test_06_weather_dl_3_month.R:161:3): weather (month) crosses the year line ──
`... <- NULL` produced messages.
── Failure (test_07_weather_args.R:55:3): weather_dl() month format = FALSE ────
`... <- NULL` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_07_weather_args.R:55:2
2. │ └─cassette$call_block(...)
3. └─testthat::expect_silent(...) test_07_weather_args.R:56:4
── Failure (test_08_normals.R:196:3): normals_dl() downloads normals/frost dates as tibble - single ──
`nd <- normals_dl(climate_id = "5010480")` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_08_normals.R:196:2
2. │ └─cassette$call_block(...)
3. ├─expect_silent(nd <- normals_dl(climate_id = "5010480")) %>% expect_is("tbl_df") test_08_normals.R:197:4
4. ├─testthat::expect_is(., "tbl_df")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(nd <- normals_dl(climate_id = "5010480"))
── Failure (test_08_normals.R:202:3): normals_dl() downloads normals/frost dates as tibble - single ──
`nd <- normals_dl(climate_id = "5010480", normals_years = "1971-2000")` produced messages.
Backtrace:
█
1. ├─vcr::use_cassette(...) test_08_normals.R:202:2
2. │ └─cassette$call_block(...)
3. ├─`%>%`(...) test_08_normals.R:203:4
4. ├─testthat::expect_is(., "tbl_df")
5. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
6. │ └─rlang::eval_bare(expr, quo_get_env(quo))
7. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:211:5): normals_dl() downloads normals/frost dates as tibble - multi 1981 ──
`nd <- normals_dl(climate_id = c("2403500", "5010480", "1096450"))` produced messages.
Backtrace:
█
1. ├─`%>%`(...) test_08_normals.R:211:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:229:5): normals_dl() downloads normals/frost dates as tibble - multi 1971 ──
`... <- NULL` produced messages.
Backtrace:
█
1. ├─`%>%`(...) test_08_normals.R:229:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(...)
── Failure (test_08_normals.R:250:5): normals_dl() gets extreme wind chill correctly ──
`nd <- normals_dl(climate_id = "2100517")` produced messages.
Backtrace:
█
1. ├─expect_silent(nd <- normals_dl(climate_id = "2100517")) %>% expect_is("tbl_df") test_08_normals.R:250:4
2. ├─testthat::expect_is(., "tbl_df")
3. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
4. │ └─rlang::eval_bare(expr, quo_get_env(quo))
5. └─testthat::expect_silent(nd <- normals_dl(climate_id = "2100517"))
[ FAIL 37 | WARN 0 | SKIP 7 | PASS 634 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64