* using log directory ‘/home/hornik/tmp/CRAN_special_donttest/CatPredi.Rcheck’ * using R Under development (unstable) (2025-10-31 r88977) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-15 (Debian 15.2.0-4) 15.2.0 GNU Fortran (Debian 15.2.0-4) 15.2.0 * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * using option ‘--run-donttest’ * checking for file ‘CatPredi/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘CatPredi’ version ‘1.5’ * checking CRAN incoming feasibility ... [4s/5s] NOTE Maintainer: ‘Irantzu Barrio ’ Days since last update: 4 * 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 serialization versions ... OK * checking whether package ‘CatPredi’ can be installed ... [8s/8s] OK * checking package directory ... OK * checking for future file timestamps ... 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/2s] OK * checking whether the package can be loaded with stated dependencies ... [2s/2s] OK * checking whether the package can be unloaded cleanly ... [2s/2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s/2s] OK * checking whether the namespace can be unloaded cleanly ... [2s/2s] OK * checking loading without being on the library search path ... [2s/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/13s] OK * checking Rd files ... [0s/0s] 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 examples ... [118s/118s] ERROR Running examples in ‘CatPredi-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: compare.AUC.ht > ### Title: A bootstrap-based hypothesis test to select the best number of > ### categories for a continuous predictor variable in a logistic > ### regression model > ### Aliases: compare.AUC.ht > > ### ** Examples > > library(CatPredi) > set.seed(127) > #Simulate data > n = 100 > #Predictor variable > xh <- rnorm(n, mean = 0, sd = 1) > xd <- rnorm(n, mean = 1.5, sd = 1) > x <- c(xh, xd) > #Response > y <- c(rep(0,n), rep(1,n)) > # Data frame > df <- data.frame(y = y, x = x) > ## No test: > > # Select 2 optimal cut points using the AddFor algorithm. Correct the AUC > res.addfor.k2 <- catpredi(formula = y ~ 1, cat.var = "x", cat.points = 2, + data = df, method = "addfor", range=NULL, correct.AUC=TRUE, + control=controlcatpredi(grid=20)) > # Select 3 optimal cut points using the AddFor algorithm. Correct the AUC > res.addfor.k3 <- catpredi(formula = y ~ 1, cat.var = "x", cat.points = 3, + data = df, method = "addfor", range=NULL, correct.AUC=TRUE, + control=controlcatpredi(grid=20)) > comp <- comp.cutpoints(res.addfor.k2, res.addfor.k3, V = 10) > ## End(No test) > ## No test: > > # Select 1 optimal cut points using the BackAddFor algorithm. > res.backaddfor.k1 <- catpredi(formula = y ~ 1, cat.var = "x", cat.points = 1, + data = df, method = "backaddfor", range=NULL, correct.AUC=FALSE) > # Select 2 optimal cut points using the BackAddFor algorithm. > res.backaddfor.k2 <- catpredi(formula = y ~ 1, cat.var = "x", cat.points = 2, + data = df, method = "backaddfor", range=NULL, correct.AUC=FALSE) > # Test if k=1 cut-off points is enough to categorise x > comp.k1.k2 <- compare.AUC.ht(res.backaddfor.k1, res.backaddfor.k2) Error in .check_ncores(cores) : 31 simultaneous processes spawned Calls: compare.AUC.ht ... %dopar% -> -> mclapply -> .check_ncores Execution halted * checking PDF version of manual ... [4s/4s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE