- using R Under development (unstable) (2025-08-09 r88550 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'readrba/DESCRIPTION' ... OK
- this is package 'readrba' version '0.1.11'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'readrba' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Missing dependency on R >= 4.1.0 because package code uses the pipe
|> or function shorthand \(...) syntax added in R 4.1.0.
File(s) using such syntax:
'tidy_rba.R'
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s] OK
- checking loading without being on the library search path ... [1s] OK
- checking use of S3 registration ... 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 ... [5s] OK
- checking Rd files ... [1s] 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 R/sysdata.rda ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [9s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [18s] ERROR
Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(readrba)
>
> test_check("readrba")
[ FAIL 1 | WARN 0 | SKIP 15 | PASS 52 ]
══ Skipped tests (15) ══════════════════════════════════════════════════════════
• On CRAN (15): 'test-browse_data.R:27:3', 'test-check_if_rba_ts.R:3:3',
'test-download_rba.R:4:3', 'test-rba_forecasts.R:27:3',
'test-read_cashrate.R:2:3', 'test-read_rba.R:2:3', 'test-read_rba.R:20:3',
'test-read_rba.R:90:3', 'test-read_rba.R:106:3', 'test-read_rba.R:123:3',
'test-read_rba_seriesid.R:2:3', 'test-scrape_rba_forecasts.R:2:3',
'test-scrape_table_list.R:4:3', 'test-url_exists.R:2:3',
'test-url_exists.R:15:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-rba_forecasts.R:9:3'): rba_forecasts() returns expected output from internal data ──
Sys.Date() - max(offline_forecasts$forecast_date) < 365 is not TRUE
`actual`: FALSE
`expected`: TRUE
[ FAIL 1 | WARN 0 | SKIP 15 | PASS 52 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [11s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR, 1 NOTE