CRAN Package Check Results for Package tidyhydat

Last updated on 2025-03-14 18:51:09 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.7.1 5.30 90.35 95.65 OK
r-devel-linux-x86_64-debian-gcc 0.7.1 3.71 60.68 64.39 OK
r-devel-linux-x86_64-fedora-clang 0.7.1 159.36 OK
r-devel-linux-x86_64-fedora-gcc 0.7.1 191.47 OK
r-devel-macos-arm64 0.7.1 50.00 OK
r-devel-macos-x86_64 0.7.1 106.00 OK
r-devel-windows-x86_64 0.7.1 8.00 117.00 125.00 OK
r-patched-linux-x86_64 0.7.0 OK
r-release-linux-x86_64 0.7.1 5.65 85.65 91.30 OK
r-release-macos-arm64 0.7.1 64.00 OK
r-release-macos-x86_64 0.7.1 109.00 ERROR
r-release-windows-x86_64 0.7.1 11.00 113.00 124.00 OK
r-oldrel-macos-arm64 0.7.1 64.00 ERROR
r-oldrel-macos-x86_64 0.7.1 99.00 ERROR
r-oldrel-windows-x86_64 0.7.1 9.00 129.00 138.00 OK

Check Details

Version: 0.7.1
Check: tests
Result: ERROR Running ‘testthat.R’ [27s/47s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(tidyhydat) > library(dplyr) Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > library(lubridate) Attaching package: 'lubridate' The following objects are masked from 'package:base': date, intersect, setdiff, union > > test_check("tidyhydat") [ FAIL 17 | WARN 0 | SKIP 25 | PASS 167 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (25): 'test-hy-plot.R:2:3', 'test-hy-remote.R:2:3', 'test-realtime-webservice.R:2:3', 'test-realtime-webservice.R:35:3', 'test-realtime-webservice.R:50:3', 'test-realtime-webservice.R:68:3', 'test_daily_mean.R:2:3', 'test_download_realtime.R:2:3', 'test_download_realtime.R:22:3', 'test_download_realtime.R:41:3', 'test_download_realtime.R:49:3', 'test_download_realtime.R:54:3', 'test_hy_daily.R:3:3', 'test_hy_daily.R:10:3', 'test_hy_daily.R:20:3', 'test_realtime_add_local_datetime.R:2:3', 'test_realtime_add_local_datetime.R:13:3', 'test_realtime_add_local_datetime.R:24:3', 'test_realtime_network.R:3:3', 'test_realtime_plot.R:3:3', 'test_realtime_plot.R:9:3', 'test_realtime_plot.R:15:3', 'test_realtime_plot.R:21:3', 'test_realtime_plot.R:27:3', 'test_utils.R:27:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-hy-plot.R:11:3'): plot fails with non daily value ────────────── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. └─tidyhydat::hy_monthly_flows("05AA008", hydat_path = hy_test_db()) at test-hy-plot.R:11:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:3:3'): hy_monthly_flows accepts single and multiple province arguments ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_monthly_flows.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_monthly_flows(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_monthly_flows(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:25:3'): hy_monthly_flows accepts single and multiple province arguments ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_monthly_flows.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(hy_monthly_flows(prov_terr_state_loc = "BC", hydat_path = hy_test_db())) 5. └─tidyhydat::hy_monthly_flows(prov_terr_state_loc = "BC", hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:59:3'): hy_monthly_flows respects Date specification ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. └─tidyhydat::hy_monthly_flows(...) at test_hy_monthly_flows.R:59:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:72:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. └─tidyhydat::hy_monthly_flows(...) at test_hy_monthly_flows.R:72:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:3:3'): hy_monthly_levels accepts single and multiple province arguments ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_monthly_levels.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_monthly_levels(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_monthly_levels(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:25:3'): hy_monthly_levels accepts single and multiple province arguments ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_monthly_levels.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(hy_monthly_levels(prov_terr_state_loc = "BC", hydat_path = hy_test_db())) 5. └─tidyhydat::hy_monthly_levels(prov_terr_state_loc = "BC", hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:59:3'): hy_monthly_levels respects Date specification ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. └─tidyhydat::hy_monthly_levels(...) at test_hy_monthly_levels.R:59:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:72:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. └─tidyhydat::hy_monthly_levels(...) at test_hy_monthly_levels.R:72:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:3:3'): hy_sed_monthly_loads accepts single and multiple province arguments ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_sed_monthly_loads.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_sed_monthly_loads(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_sed_monthly_loads(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:25:3'): hy_sed_monthly_loads accepts single and multiple province arguments ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_sed_monthly_loads.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(hy_sed_monthly_loads(prov_terr_state_loc = "BC", hydat_path = hy_test_db())) 5. └─tidyhydat::hy_sed_monthly_loads(prov_terr_state_loc = "BC", hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:58:3'): hy_sed_monthly_loads respects Date specification ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_loads(...) at test_hy_sed_monthly_loads.R:58:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:71:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_loads(...) at test_hy_sed_monthly_loads.R:71:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:3:3'): hy_sed_monthly_suscon accepts single and multiple province arguments ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_sed_monthly_suscon.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_sed_monthly_suscon(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_sed_monthly_suscon(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:25:3'): hy_sed_monthly_suscon accepts single and multiple province arguments ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_sed_monthly_suscon.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(...) 5. └─tidyhydat::hy_sed_monthly_suscon(...) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:58:3'): hy_sed_monthly_suscon respects Date specification ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_suscon(...) at test_hy_sed_monthly_suscon.R:58:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:71:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory limit of 16.0 Gb reached, see mem.maxVSize() Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_suscon(...) at test_hy_sed_monthly_suscon.R:71:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") [ FAIL 17 | WARN 0 | SKIP 25 | PASS 167 ] Error: Test failures Execution halted Flavor: r-release-macos-x86_64

Version: 0.7.1
Check: tests
Result: ERROR Running ‘testthat.R’ [13s/21s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(tidyhydat) > library(dplyr) Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > library(lubridate) Attaching package: 'lubridate' The following objects are masked from 'package:base': date, intersect, setdiff, union > > test_check("tidyhydat") [ FAIL 17 | WARN 0 | SKIP 25 | PASS 167 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (25): 'test-hy-plot.R:2:3', 'test-hy-remote.R:2:3', 'test-realtime-webservice.R:2:3', 'test-realtime-webservice.R:35:3', 'test-realtime-webservice.R:50:3', 'test-realtime-webservice.R:68:3', 'test_daily_mean.R:2:3', 'test_download_realtime.R:2:3', 'test_download_realtime.R:22:3', 'test_download_realtime.R:41:3', 'test_download_realtime.R:49:3', 'test_download_realtime.R:54:3', 'test_hy_daily.R:3:3', 'test_hy_daily.R:10:3', 'test_hy_daily.R:20:3', 'test_realtime_add_local_datetime.R:2:3', 'test_realtime_add_local_datetime.R:13:3', 'test_realtime_add_local_datetime.R:24:3', 'test_realtime_network.R:3:3', 'test_realtime_plot.R:3:3', 'test_realtime_plot.R:9:3', 'test_realtime_plot.R:15:3', 'test_realtime_plot.R:21:3', 'test_realtime_plot.R:27:3', 'test_utils.R:27:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-hy-plot.R:11:3'): plot fails with non daily value ────────────── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_flows("05AA008", hydat_path = hy_test_db()) at test-hy-plot.R:11:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:3:3'): hy_monthly_flows accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_monthly_flows.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_monthly_flows(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_monthly_flows(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:25:3'): hy_monthly_flows accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_monthly_flows.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(hy_monthly_flows(prov_terr_state_loc = "BC", hydat_path = hy_test_db())) 5. └─tidyhydat::hy_monthly_flows(prov_terr_state_loc = "BC", hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:59:3'): hy_monthly_flows respects Date specification ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_flows(...) at test_hy_monthly_flows.R:59:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:72:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_flows(...) at test_hy_monthly_flows.R:72:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:3:3'): hy_monthly_levels accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_monthly_levels.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_monthly_levels(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_monthly_levels(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:25:3'): hy_monthly_levels accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_monthly_levels.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(hy_monthly_levels(prov_terr_state_loc = "BC", hydat_path = hy_test_db())) 5. └─tidyhydat::hy_monthly_levels(prov_terr_state_loc = "BC", hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:59:3'): hy_monthly_levels respects Date specification ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_levels(...) at test_hy_monthly_levels.R:59:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:72:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_levels(...) at test_hy_monthly_levels.R:72:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:3:3'): hy_sed_monthly_loads accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_sed_monthly_loads.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_sed_monthly_loads(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_sed_monthly_loads(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:25:3'): hy_sed_monthly_loads accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_sed_monthly_loads.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(hy_sed_monthly_loads(prov_terr_state_loc = "BC", hydat_path = hy_test_db())) 5. └─tidyhydat::hy_sed_monthly_loads(prov_terr_state_loc = "BC", hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:58:3'): hy_sed_monthly_loads respects Date specification ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_loads(...) at test_hy_sed_monthly_loads.R:58:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:71:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_loads(...) at test_hy_sed_monthly_loads.R:71:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:3:3'): hy_sed_monthly_suscon accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_sed_monthly_suscon.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_sed_monthly_suscon(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_sed_monthly_suscon(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:25:3'): hy_sed_monthly_suscon accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_sed_monthly_suscon.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(...) 5. └─tidyhydat::hy_sed_monthly_suscon(...) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:58:3'): hy_sed_monthly_suscon respects Date specification ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_suscon(...) at test_hy_sed_monthly_suscon.R:58:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:71:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_suscon(...) at test_hy_sed_monthly_suscon.R:71:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") [ FAIL 17 | WARN 0 | SKIP 25 | PASS 167 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-arm64

Version: 0.7.1
Check: tests
Result: ERROR Running ‘testthat.R’ [26s/40s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(tidyhydat) > library(dplyr) Attaching package: 'dplyr' The following object is masked from 'package:testthat': matches The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union > library(lubridate) Attaching package: 'lubridate' The following objects are masked from 'package:base': date, intersect, setdiff, union > > test_check("tidyhydat") [ FAIL 17 | WARN 0 | SKIP 25 | PASS 167 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (25): 'test-hy-plot.R:2:3', 'test-hy-remote.R:2:3', 'test-realtime-webservice.R:2:3', 'test-realtime-webservice.R:35:3', 'test-realtime-webservice.R:50:3', 'test-realtime-webservice.R:68:3', 'test_daily_mean.R:2:3', 'test_download_realtime.R:2:3', 'test_download_realtime.R:22:3', 'test_download_realtime.R:41:3', 'test_download_realtime.R:49:3', 'test_download_realtime.R:54:3', 'test_hy_daily.R:3:3', 'test_hy_daily.R:10:3', 'test_hy_daily.R:20:3', 'test_realtime_add_local_datetime.R:2:3', 'test_realtime_add_local_datetime.R:13:3', 'test_realtime_add_local_datetime.R:24:3', 'test_realtime_network.R:3:3', 'test_realtime_plot.R:3:3', 'test_realtime_plot.R:9:3', 'test_realtime_plot.R:15:3', 'test_realtime_plot.R:21:3', 'test_realtime_plot.R:27:3', 'test_utils.R:27:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-hy-plot.R:11:3'): plot fails with non daily value ────────────── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_flows("05AA008", hydat_path = hy_test_db()) at test-hy-plot.R:11:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:3:3'): hy_monthly_flows accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_monthly_flows.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_monthly_flows(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_monthly_flows(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:25:3'): hy_monthly_flows accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_monthly_flows.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(hy_monthly_flows(prov_terr_state_loc = "BC", hydat_path = hy_test_db())) 5. └─tidyhydat::hy_monthly_flows(prov_terr_state_loc = "BC", hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:59:3'): hy_monthly_flows respects Date specification ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_flows(...) at test_hy_monthly_flows.R:59:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_flows.R:72:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_flows(...) at test_hy_monthly_flows.R:72:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:3:3'): hy_monthly_levels accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_monthly_levels.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_monthly_levels(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_monthly_levels(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:25:3'): hy_monthly_levels accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_monthly_levels.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(hy_monthly_levels(prov_terr_state_loc = "BC", hydat_path = hy_test_db())) 5. └─tidyhydat::hy_monthly_levels(prov_terr_state_loc = "BC", hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:59:3'): hy_monthly_levels respects Date specification ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_levels(...) at test_hy_monthly_levels.R:59:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_monthly_levels.R:72:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_monthly_levels(...) at test_hy_monthly_levels.R:72:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:3:3'): hy_sed_monthly_loads accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_sed_monthly_loads.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_sed_monthly_loads(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_sed_monthly_loads(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:25:3'): hy_sed_monthly_loads accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_sed_monthly_loads.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(hy_sed_monthly_loads(prov_terr_state_loc = "BC", hydat_path = hy_test_db())) 5. └─tidyhydat::hy_sed_monthly_loads(prov_terr_state_loc = "BC", hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:58:3'): hy_sed_monthly_loads respects Date specification ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_loads(...) at test_hy_sed_monthly_loads.R:58:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_loads.R:71:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_loads(...) at test_hy_sed_monthly_loads.R:71:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:3:3'): hy_sed_monthly_suscon accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test_hy_sed_monthly_suscon.R:3:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::unique(hy_sed_monthly_suscon(station_number = stns, hydat_path = hy_test_db())$STATION_NUMBER) 5. └─tidyhydat::hy_sed_monthly_suscon(station_number = stns, hydat_path = hy_test_db()) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:25:3'): hy_sed_monthly_suscon accepts single and multiple province arguments ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. ├─testthat::expect_true(...) at test_hy_sed_monthly_suscon.R:25:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. ├─base::nrow(...) 5. └─tidyhydat::hy_sed_monthly_suscon(...) 6. ├─tidyr::separate(...) 7. └─tidyr:::separate.data.frame(...) 8. └─tidyr:::str_separate(...) 9. └─tidyr:::str_split_fixed(...) 10. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:58:3'): hy_sed_monthly_suscon respects Date specification ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_suscon(...) at test_hy_sed_monthly_suscon.R:58:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") ── Error ('test_hy_sed_monthly_suscon.R:71:3'): functions that accept a date argument return data when specifying only the start date or end date ── Error: vector memory exhausted (limit reached?) Backtrace: ▆ 1. └─tidyhydat::hy_sed_monthly_suscon(...) at test_hy_sed_monthly_suscon.R:71:3 2. ├─tidyr::separate(...) 3. └─tidyr:::separate.data.frame(...) 4. └─tidyr:::str_separate(...) 5. └─tidyr:::str_split_fixed(...) 6. └─tidyr:::simplifyPieces(pieces, n, fill == "left") [ FAIL 17 | WARN 0 | SKIP 25 | PASS 167 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64