* using log directory ‘/home/hornik/tmp/CRAN_special_donttest/traineR.Rcheck’ * using R Under development (unstable) (2025-12-04 r89091) * 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 ‘traineR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘traineR’ version ‘2.2.3’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/6s] OK * 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 ‘traineR’ can be installed ... [10s/10s] 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 ... [3s/3s] OK * checking whether the package can be loaded with stated dependencies ... [2s/2s] OK * checking whether the package can be unloaded cleanly ... [3s/3s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s/3s] OK * checking whether the namespace can be unloaded cleanly ... [3s/3s] OK * checking loading without being on the library search path ... [3s/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 ... [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 ... [12s/10s] ERROR Running examples in ‘traineR-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: train.xgboost > ### Title: train.xgboost > ### Aliases: train.xgboost > > ### ** Examples > > > ## No test: > # Classification > data("iris") > > n <- seq_len(nrow(iris)) > .sample <- sample(n, length(n) * 0.75) > data.train <- iris[.sample,] > data.test <- iris[-.sample,] > > modelo.xg <- train.xgboost(Species~., data.train, nrounds = 10, maximize = FALSE) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. [1] train-mlogloss:0.738285 [2] train-mlogloss:0.527359 [3] train-mlogloss:0.390308 [4] train-mlogloss:0.296220 [5] train-mlogloss:0.229717 [6] train-mlogloss:0.181500 [7] train-mlogloss:0.145874 [8] train-mlogloss:0.120036 [9] train-mlogloss:0.100249 [10] train-mlogloss:0.084281 Error in model$prmdt <- `*vtmp*` : ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost] Calls: train.xgboost -> create.model Execution halted * checking PDF version of manual ... [4s/3s] OK * checking HTML version of manual ... [2s/2s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR