Last updated on 2025-03-12 08:53:35 CET.
Package | ERROR | OK |
---|---|---|
rsoi | 15 | |
tidyhydat | 3 | 12 |
Current CRAN status: OK: 15
Current CRAN status: ERROR: 3, OK: 12
Version: 0.7.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [28s/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’ [15s/23s]
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’ [27s/46s]
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