Last updated on 2025-12-06 10:51:21 CET.
| Package | ERROR | NOTE | OK |
|---|---|---|---|
| inTrees | 4 | 9 | |
| RRF | 2 | 11 |
Current CRAN status: ERROR: 4, OK: 9
Version: 1.4
Check: examples
Result: ERROR
Running examples in ‘inTrees-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: XGB2List
> ### Title: Transform an xgboost object to a list of trees
> ### Aliases: XGB2List
> ### Keywords: xgboost
>
> ### ** Examples
>
> library(data.table)
Attaching package: ‘data.table’
The following object is masked from ‘package:base’:
%notin%
> library(xgboost)
> # test data set 1: iris
> X <- within(iris,rm("Species")); Y <- iris[,"Species"]
> X <- within(iris,rm("Species")); Y <- iris[,"Species"]
> model_mat <- model.matrix(~. -1, data=X)
> xgb <- xgboost(model_mat, label = as.numeric(Y) - 1, nrounds = 20,
+ objective = "multi:softprob", num_class = 3 )
Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), :
Passed unrecognized parameters: num_class. 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 'label' has been renamed to 'y'. This warning will become an error in a future version.
Error in process.y.margin.and.objective(y, base_margin, objective, params) :
Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: multi:softprob
Calls: xgboost -> process.y.margin.and.objective
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.4
Check: examples
Result: ERROR
Running examples in ‘inTrees-Ex.R’ failed
The error most likely occurred in:
> ### Name: XGB2List
> ### Title: Transform an xgboost object to a list of trees
> ### Aliases: XGB2List
> ### Keywords: xgboost
>
> ### ** Examples
>
> library(data.table)
> library(xgboost)
> # test data set 1: iris
> X <- within(iris,rm("Species")); Y <- iris[,"Species"]
> X <- within(iris,rm("Species")); Y <- iris[,"Species"]
> model_mat <- model.matrix(~. -1, data=X)
> xgb <- xgboost(model_mat, label = as.numeric(Y) - 1, nrounds = 20,
+ objective = "multi:softprob", num_class = 3 )
Warning in throw_err_or_depr_msg("Passed unrecognized parameters: ", paste(head(names_unrecognized), :
Passed unrecognized parameters: num_class. 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 'label' has been renamed to 'y'. This warning will become an error in a future version.
Error in process.y.margin.and.objective(y, base_margin, objective, params) :
Got numeric 'y' - supported objectives for this data are: reg:squarederror, reg:squaredlogerror, reg:logistic, reg:pseudohubererror, reg:absoluteerror, reg:quantileerror, count:poisson, reg:gamma, reg:tweedie. Was passed: multi:softprob
Calls: xgboost -> process.y.margin.and.objective
Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-oldrel-windows-x86_64
Current CRAN status: NOTE: 2, OK: 11
Version: 1.9.4.1
Check: CRAN incoming feasibility
Result: NOTE
Maintainer: ‘Houtao Deng <softwaredeng@gmail.com>’
Package CITATION file contains call(s) to old-style personList() or
as.personList(). Please use c() on person objects instead.
Package CITATION file contains call(s) to old-style citEntry(). Please
use bibentry() instead.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc