* using log directory 'd:/Rcompile/CRANpkg/local/4.4/predictoR.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'predictoR/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'predictoR' version '4.1.5' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'predictoR' can be installed ... OK * checking installed package size ... 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 ... [7s] OK * checking whether the package can be loaded with stated dependencies ... [6s] OK * checking whether the package can be unloaded cleanly ... [6s] OK * checking whether the namespace can be loaded with stated dependencies ... [6s] OK * checking whether the namespace can be unloaded cleanly ... [7s] OK * checking loading without being on the library search path ... [7s] 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 ... [28s] OK * checking Rd files ... [1s] OK * checking Rd metadata ... 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 ... [17s] ERROR Running examples in 'predictoR-Ex.R' failed The error most likely occurred in: > ### Name: e_xgb_importance > ### Title: Var importance XGBoosting > ### Aliases: e_xgb_importance > > ### ** Examples > > model <- traineR::train.xgboost(Species ~ ., data = iris, nrounds = 20) 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.736115 [2] train-mlogloss:0.524235 [3] train-mlogloss:0.387996 [4] train-mlogloss:0.294146 [5] train-mlogloss:0.226824 [6] train-mlogloss:0.177835 [7] train-mlogloss:0.141766 [8] train-mlogloss:0.115002 [9] train-mlogloss:0.094791 [10] train-mlogloss:0.078860 [11] train-mlogloss:0.066746 [12] train-mlogloss:0.057845 [13] train-mlogloss:0.050360 [14] train-mlogloss:0.044290 [15] train-mlogloss:0.039567 [16] train-mlogloss:0.035267 [17] train-mlogloss:0.032581 [18] train-mlogloss:0.030403 [19] train-mlogloss:0.028410 [20] train-mlogloss:0.026969 Error in model$prmdt <- `*vtmp*` : ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost] Calls: -> create.model Execution halted * checking PDF version of manual ... [17s] OK * checking HTML version of manual ... [2s] OK * DONE Status: 1 ERROR