* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/traineR.Rcheck’ * using R Under development (unstable) (2025-12-02 r89085) * 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 ‘traineR/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘traineR’ version ‘2.2.2’ * 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 ‘traineR’ can be installed ... [14s/14s] 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 ... [20s/20s] NOTE train.xgboost: warning in xgb.train(params = params, data = train_aux, eval_metric = "mlogloss", nrounds = nrounds, watchlist = watchlist, obj = obj, feval = feval, verbose = verbose, print_every_n = print_every_n, early_stopping_rounds = early_stopping_rounds, maximize = maximize, save_period = save_period, save_name = save_name, xgb_model = xgb_model, callbacks = callbacks, ... = ...): partial argument match of 'obj' to 'objective' train.xgboost: warning in xgb.train(params = params, data = train_aux, nrounds = nrounds, watchlist = watchlist, obj = obj, feval = feval, verbose = verbose, print_every_n = print_every_n, early_stopping_rounds = early_stopping_rounds, maximize = maximize, save_period = save_period, save_name = save_name, xgb_model = xgb_model, callbacks = callbacks, ... = ...): partial argument match of 'obj' to 'objective' * 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 ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘traineR-Ex.R’ failed The error most likely occurred in: > ### 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. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'feval' has been renamed to 'custom_metric'. 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 ... 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, 1 NOTE See ‘/data/blackswan/ripley/R/packages/tests-devel/traineR.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 2:15.57, 113.21 + 21.44