* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/CatPredi.Rcheck’ * using R Under development (unstable) (2025-10-28 r88973) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * checking for file ‘CatPredi/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘CatPredi’ version ‘1.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 whether package ‘CatPredi’ can be installed ... [12s/12s] OK * checking package 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... [18s/18s] OK * checking Rd files ... 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 ... [31s/31s] OK * checking examples with --run-donttest ... [159s/160s] ERROR Running examples in ‘CatPredi-Ex.R’ failed The error most likely occurred in: > ### 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) > ## Don't show: > > # 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(Don't show) > ## 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 ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR See ‘/data/blackswan/ripley/R/packages/tests-devel/CatPredi.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 4:43.25, 266.68 + 14.72