- using R version 4.4.2 (2024-10-31)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-6) 14.2.0
GNU Fortran (Debian 14.2.0-6) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘sdtm.oak/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘sdtm.oak’ version ‘0.1.0’
- 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 ‘sdtm.oak’ 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 ... OK
- 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 ... [1s/1s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] 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 ... [9s/12s] OK
- checking Rd files ... [1s/1s] 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 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 ... [10s/12s] OK
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
create_iso8601 4.15 0.016 5.304
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [26s/15s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [25s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(sdtm.oak)
>
> test_check("sdtm.oak")
Starting 2 test processes
[ FAIL 1 | WARN 0 | SKIP 5 | PASS 340 ]
══ Skipped tests (5) ═══════════════════════════════════════════════════════════
• On CRAN (5): 'test-derive_blfl.R:39:3', 'test-derive_blfl.R:47:3',
'test-derive_blfl.R:87:3', 'test-derive_blfl.R:96:3',
'test-derive_blfl.R:123:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-derive_study_day.R:62:3'): `calculate_study_day()` works as expected for valid input ──
Error in `waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)`: `tolerance` must be a number or `NULL`, not the string "1.5e-08".
Backtrace:
▆
1. └─testthat::expect_equal(res$AESTDY, expected, tolerance = "1.5e-08") at test-derive_study_day.R:62:3
2. └─testthat:::expect_waldo_equal("equal", act, exp, info, ..., tolerance = tolerance)
3. └─testthat:::waldo_compare(...)
4. └─waldo::compare(tolerance = NULL)
5. └─waldo:::check_number_decimal(tolerance, allow_null = TRUE, min = 0)
6. └─waldo:::.stop_not_number(...)
7. └─waldo:::stop_input_type(...)
8. └─rlang::abort(message, ..., call = call, arg = arg)
[ FAIL 1 | WARN 0 | SKIP 5 | PASS 340 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [38s/53s] OK
- checking PDF version of manual ... [9s/11s] OK
- checking HTML version of manual ... [3s/5s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR