* using log directory 'd:/Rcompile/CRANpkg/local/4.7/pre.Rcheck' * using R Under development (unstable) (2026-07-26 r90304 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-07-27 08:22:13 UTC * checking for file 'pre/DESCRIPTION' ... OK * this is package 'pre' version '1.0.9' * 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 * 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 ... [14s] 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 ... [3s] ERROR Running 'testthat.R' [3s] 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 Under development (unstable) (2026-07-26 r90304 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-29 mvtnorm_1.4-2 libcoin_1.0-13 earth_5.3.5 [5] plotmo_3.7.0 plotrix_3.8-14 Formula_1.2-5 pre_1.0.9 [9] testthat_3.3.2 loaded via a namespace (and not attached): [1] cli_3.6.6 rlang_1.3.0 stringi_1.8.7 otel_0.2.0 [5] MatrixModels_0.5-4 glue_1.8.1 glmnet_5.0 brio_1.1.5 [9] foreach_1.5.2 lifecycle_1.0.5 stringr_1.6.0 compiler_4.7.0 [13] codetools_0.2-20 Rcpp_1.1.2 lattice_0.22-9 R6_2.6.1 [17] splines_4.7.0 inum_1.0-5 shape_1.4.6.1 magrittr_2.0.5 [21] rpart_4.1.27 Matrix_1.7-6 tools_4.7.0 iterators_1.0.14 [25] survival_3.8-9 > > test_check("pre") Error in `source_dir()`: ! Failed to evaluate './helper.R'. Caused by error: ! object 'PimaIndiansDiabetes' not found Backtrace: ▆ 1. ├─testthat::test_check("pre") 2. │ └─testthat::test_dir(...) 3. │ └─testthat:::test_files(...) 4. │ └─testthat:::test_files_serial(...) 5. │ └─testthat:::test_files_setup_state(...) 6. │ └─testthat::source_test_helpers(".", env) 7. │ └─testthat::source_dir(path, "^helper.*\\.[rR]$", env = env, wrap = FALSE) 8. │ └─base::lapply(...) 9. │ └─testthat (local) FUN(X[[i]], ...) 10. │ └─testthat::source_file(...) 11. │ ├─base::withCallingHandlers(...) 12. │ └─base::eval(exprs, env) 13. │ └─base::eval(exprs, env) 14. └─testthat (local) ``(``) at ./helper.R:76:1 15. └─cli::cli_abort(...) 16. └─rlang::abort(...) Warning message: In data(PimaIndiansDiabetes, package = "mlbench", envir = environment()) : data set 'PimaIndiansDiabetes' not found Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [153s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [4s] OK * DONE Status: 1 ERROR