- using R Under development (unstable) (2025-12-17 r89193)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-11) 15.2.0
GNU Fortran (Debian 15.2.0-11) 15.2.0
- running under: Debian GNU/Linux forky/sid
- 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 CRAN incoming feasibility ... [0s/0s] 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 ‘predictoR’ can be installed ... OK
See the install log for details.
- 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 ... [4s/5s] OK
- checking whether the package can be loaded with stated dependencies ... [4s/6s] OK
- checking whether the package can be unloaded cleanly ... [4s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [4s/5s] OK
- checking whether the namespace can be unloaded cleanly ... [4s/5s] OK
- checking loading without being on the library search path ... [4s/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 ... [27s/32s] OK
- checking Rd files ... [0s/1s] 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 ... [9s/12s] ERROR
Running examples in ‘predictoR-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: e_xgb_importance
> ### Title: Var importance XGBoosting
> ### Aliases: e_xgb_importance
>
> ### ** Examples
>
> model <- traineR::train.xgboost(Species ~ ., data = iris, nrounds = 20)
[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
> e_xgb_importance(model)
Error in xgb.get.handle(model) :
argument must be an 'xgb.Booster' object.
Calls: e_xgb_importance -> <Anonymous> -> xgb.get.handle
Execution halted
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR