CRAN Package Check Results for Package inTrees

Last updated on 2025-12-04 06:49:54 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4 10.17 79.89 90.06 OK
r-devel-linux-x86_64-debian-gcc 1.4 6.81 55.25 62.06 OK
r-devel-linux-x86_64-fedora-clang 1.4 72.00 74.68 146.68 ERROR
r-devel-linux-x86_64-fedora-gcc 1.4 61.00 78.26 139.26 ERROR
r-devel-windows-x86_64 1.4 9.00 89.00 98.00 OK
r-patched-linux-x86_64 1.4 8.56 74.58 83.14 OK
r-release-linux-x86_64 1.4 8.82 75.76 84.58 OK
r-release-macos-arm64 1.4 OK
r-release-macos-x86_64 1.4 8.00 61.00 69.00 OK
r-release-windows-x86_64 1.4 10.00 89.00 99.00 OK
r-oldrel-macos-arm64 1.4 OK
r-oldrel-macos-x86_64 1.4 6.00 50.00 56.00 OK
r-oldrel-windows-x86_64 1.4 13.00 110.00 123.00 OK

Check Details

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