- using R version 4.6.1 (2026-06-24)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-2) 16.1.0
GNU Fortran (Debian 16.1.0-2) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-07-25 17:57:57 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 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 ‘pre’ 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 ... [2s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the package can be unloaded cleanly ... [2s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/3s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/3s] 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 ... [25s/31s] 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 ... [3s/4s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [3s/4s] ERROR
Running ‘testthat.R’ [3s/4s]
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.1 (2026-06-24)
Platform: x86_64-pc-linux-gnu
Running under: Debian GNU/Linux forky/sid
Matrix products: default
BLAS: /home/hornik/tmp/R.check/r-release-gcc/Work/build/lib/libRblas.so
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.12.1; LAPACK version 3.12.0
locale:
[1] LC_CTYPE=C.UTF-8 LC_NUMERIC=C LC_TIME=C.UTF-8
[4] LC_COLLATE=C LC_MONETARY=C.UTF-8 LC_MESSAGES=C.UTF-8
[7] LC_PAPER=C.UTF-8 LC_NAME=C LC_ADDRESS=C
[10] LC_TELEPHONE=C LC_MEASUREMENT=C.UTF-8 LC_IDENTIFICATION=C
time zone: Europe/Vienna
tzcode source: system (glibc)
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.6.1
[13] codetools_0.2-20 Rcpp_1.1.2 lattice_0.22-9 R6_2.6.1
[17] splines_4.6.1 inum_1.0-5 shape_1.4.6.1 magrittr_2.0.5
[21] rpart_4.1.27 Matrix_1.7-5 tools_4.6.1 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. └─base::.handleSimpleError(...) at ./helper.R:76:1
15. └─testthat (local) h(simpleError(msg, call))
16. └─cli::cli_abort(...)
17. └─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 ... [190s/252s] OK
- checking PDF version of manual ... [6s/9s] OK
- checking HTML version of manual ... [6s/8s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR