- using R version 4.3.3 (2024-02-29)
- using platform: aarch64-apple-darwin20 (64-bit)
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 12.2.0
- running under: macOS Ventura 13.4
- using session charset: UTF-8
- checking for file ‘tidyhydat/DESCRIPTION’ ... OK
- this is package ‘tidyhydat’ version ‘0.7.1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘tidyhydat’ can be installed ... [2s/2s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking startup messages can be suppressed ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [2s/2s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [0s/0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [0s/0s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [16s/27s] ERROR
Running ‘testthat.R’ [16s/26s]
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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [7s/8s] OK
- checking PDF version of manual ... [4s/5s] OK
- DONE
Status: 1 ERROR
- using check arguments '--no-clean-on-error '