- using R Under development (unstable) (2025-08-10 r88559)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-19) 14.2.0
GNU Fortran (Debian 14.2.0-19) 14.2.0
- running under: Debian GNU/Linux 13 (trixie)
- using session charset: UTF-8
- checking for file ‘readrba/DESCRIPTION’ ... OK
- this is package ‘readrba’ version ‘0.1.11’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [1s/1s] OK
- 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 ‘readrba’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the package can be unloaded cleanly ... [0s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/1s] OK
- checking loading without being on the library search path ... [1s/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 ... [6s/8s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... [4s/8s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
rba_forecasts 3.012 0.132 6.398
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/15s] ERROR
Running ‘testthat.R’ [7s/15s]
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 ... [13s/17s] OK
- checking PDF version of manual ... [4s/5s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR, 1 NOTE