* using log directory 'd:/Rcompile/CRANpkg/local/4.3/sdtm.oak.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'sdtm.oak' can be installed ... OK * 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 ... [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 ... [6s] OK * checking Rd files ... [2s] 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] 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 ... [15s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [18s] ERROR Running 'spelling.R' [0s] Running 'testthat.R' [18s] 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 in 'inst/doc' ... OK * checking re-building of vignette outputs ... [50s] OK * checking PDF version of manual ... [26s] OK * checking HTML version of manual ... [12s] OK * DONE Status: 1 ERROR