- using R version 4.6.0 (2026-04-24 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-05-06 06:13:15 UTC
- checking for file 'pre/DESCRIPTION' ... OK
- this is package 'pre' version '1.0.8'
- 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 'pre' 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 ... 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 ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [2s] 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 ... [13s] 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 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 ... [7s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [39s] ERROR
Running 'testthat.R' [38s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(pre)
>
> #####
> # partykit and earth is loaded as failures of tests may be caused by the version
> # of either package. Thus, we print the sessionInfo
>
> library(earth)
Loading required package: Formula
Loading required package: plotmo
Loading required package: plotrix
> library(partykit)
Loading required package: grid
Loading required package: libcoin
Loading required package: mvtnorm
> print(sessionInfo())
R version 4.6.0 (2026-04-24 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows Server 2022 x64 (build 20348)
Matrix products: default
LAPACK version 3.12.1
locale:
[1] LC_COLLATE=C LC_CTYPE=German_Germany.utf8
[3] LC_MONETARY=C LC_NUMERIC=C
[5] LC_TIME=C
time zone: Europe/Berlin
tzcode source: internal
attached base packages:
[1] grid stats graphics grDevices utils datasets methods
[8] base
other attached packages:
[1] partykit_1.2-27 mvtnorm_1.3-7 libcoin_1.0-12 earth_5.3.5
[5] plotmo_3.7.0 plotrix_3.8-14 Formula_1.2-5 pre_1.0.8
[9] testthat_3.3.2
loaded via a namespace (and not attached):
[1] cli_3.6.6 rlang_1.2.0 stringi_1.8.7 MatrixModels_0.5-4
[5] glue_1.8.1 glmnet_5.0 brio_1.1.5 foreach_1.5.2
[9] lifecycle_1.0.5 stringr_1.6.0 compiler_4.6.0 codetools_0.2-20
[13] Rcpp_1.1.1-1.1 lattice_0.22-9 R6_2.6.1 splines_4.6.0
[17] inum_1.0-5 shape_1.4.6.1 magrittr_2.0.5 rpart_4.1.27
[21] Matrix_1.7-5 tools_4.6.0 iterators_1.0.14 survival_3.8-6
>
> test_check("pre")
Saving _problems/tests_pre-198.R
[ FAIL 1 | WARN 12 | SKIP 0 | PASS 131 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('tests_pre.R:198:5'): Get previous results with lung survival data ──
Expected `fit` to equal `read_to_test("lung_w_pre_surv")`.
Differences:
Component "glmnet.fit": Component "glmnet.fit": Component "beta": Lengths: 720, 600
Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "Dim": Mean relative difference: 0.1666667 >
Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "Dimnames": Component 2: Lengths (60, 50) differ (string compare on first 50) >
Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "i": Numeric: lengths (488, 370) differ >
Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "p": Numeric: lengths (61, 51) differ >
Component "glmnet.fit": Component "glmnet.fit": Component "beta": Attributes: < Component "x": Numeric: lengths (488, 370) differ >
[ FAIL 1 | WARN 12 | SKIP 0 | PASS 131 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [152s] OK
- checking PDF version of manual ... [22s] OK
- checking HTML version of manual ... [11s] OK
- DONE
Status: 1 ERROR