CRAN Package Check Results for Package xgboost

Last updated on 2025-12-07 05:50:16 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.11.1 485.72 314.91 800.63 OK
r-devel-linux-x86_64-debian-gcc 3.1.2.1 725.58 99.33 824.91 ERROR
r-devel-linux-x86_64-fedora-clang 3.1.2.1 900.00 1050.94 1950.94 OK
r-devel-linux-x86_64-fedora-gcc 3.1.2.1 660.00 1676.61 2336.61 OK
r-devel-windows-x86_64 1.7.11.1 832.00 245.00 1077.00 OK
r-patched-linux-x86_64 1.7.11.1 576.66 288.46 865.12 OK
r-release-linux-x86_64 3.1.2.1 1000.35 174.36 1174.71 OK
r-release-macos-arm64 3.1.2.1 41.00 49.00 90.00 OK
r-release-macos-x86_64 3.1.2.1 300.00 218.00 518.00 OK
r-release-windows-x86_64 3.1.2.1 749.00 221.00 970.00 OK
r-oldrel-macos-arm64 3.1.2.1 41.00 60.00 101.00 NOTE
r-oldrel-macos-x86_64 3.1.2.1 320.00 216.00 536.00 NOTE
r-oldrel-windows-x86_64 3.1.2.1 777.00 258.00 1035.00 NOTE

Additional issues

rchk

Check Details

Version: 3.1.2.1
Check: package dependencies
Result: WARN Cannot process vignettes Packages suggested but not available for checking: 'knitr', 'rmarkdown', 'DiagrammeR', 'htmlwidgets' VignetteBuilder package required for checking but not installed: ‘knitr’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.1.2.1
Check: examples
Result: ERROR Running examples in ‘xgboost-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: xgb.plot.multi.trees > ### Title: Project all trees on one tree > ### Aliases: xgb.plot.multi.trees > > ### ** Examples > > > data(agaricus.train, package = "xgboost") > > ## Keep the number of threads to 2 for examples > nthread <- 2 > data.table::setDTthreads(nthread) > > model <- xgboost( + agaricus.train$data, factor(agaricus.train$label), + nrounds = 30, + verbosity = 0L, + nthreads = nthread, + max_depth = 15, + learning_rate = 1, + min_child_weight = 50 + ) > > p <- xgb.plot.multi.trees(model, features_keep = 3) Error in xgb.plot.multi.trees(model, features_keep = 3) : DiagrammeR is required for xgb.plot.multi.trees Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.1.2.1
Check: tests
Result: ERROR Running ‘testthat.R’ [30s/25s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(xgboost) > library(Matrix) > > test_check("xgboost", reporter = ProgressReporter) ✔ | F W S OK | Context ⠏ | 0 | basic ⠏ | 0 | basic functions ⠸ | 4 | basic functions ⠦ | 17 | basic functions ⠼ | 35 | basic functions ⠙ | 42 | basic functions ⠸ | 54 | basic functions ⠴ | 66 | basic functions ⠏ | 70 | basic functions ⠙ | 72 | basic functions ⠇ | 79 | basic functions ⠸ | 84 | basic functions ⠴ | 96 | basic functions ⠸ | 114 | basic functions ⠇ | 129 | basic functions ⠴ | 146 | basic functions ✔ | 156 | basic functions [6.0s] ⠏ | 0 | booster_slicing ⠏ | 0 | testing xgb.Booster slicing ⠴ | 6 | testing xgb.Booster slicing ⠙ | 22 | testing xgb.Booster slicing ✔ | 23 | testing xgb.Booster slicing ⠏ | 0 | callbacks ⠏ | 0 | callbacks ⠴ | 6 | callbacks ⠋ | 21 | callbacks ⠹ | 33 | callbacks ⠹ | 43 | callbacks ⠇ | 49 | callbacks ⠼ | 55 | callbacks ⠸ | 64 | callbacks ⠦ | 77 | callbacks ⠼ | 85 | callbacks ⠹ | 93 | callbacks ⠇ | 99 | callbacks ⠙ | 112 | callbacks ✔ | 114 | callbacks [1.7s] ⠏ | 0 | config ⠏ | 0 | Test global configuration ✔ | 8 | Test global configuration ⠏ | 0 | custom_objective ⠏ | 0 | Test models with custom objective ⠼ | 5 | Test models with custom objective ⠼ | 15 | Test models with custom objective ✔ | 18 | Test models with custom objective ⠏ | 0 | dmatrix ⠏ | 0 | testing xgb.DMatrix functionality [16:25:30] WARNING: src/data/data.cc:937: Text file input has been deprecated since 3.1 ⠴ | 16 | testing xgb.DMatrix functionality ⠸ | 34 | testing xgb.DMatrix functionality ⠇ | 39 | testing xgb.DMatrix functionality ⠧ | 48 | testing xgb.DMatrix functionality ⠙ | 62 | testing xgb.DMatrix functionality ⠦ | 67 | testing xgb.DMatrix functionality ⠋ | 71 | testing xgb.DMatrix functionality ⠼ | 85 | testing xgb.DMatrix functionality ⠹ | 93 | testing xgb.DMatrix functionality ⠦ | 117 | testing xgb.DMatrix functionality ⠏ | 140 | testing xgb.DMatrix functionality ✔ | 143 | testing xgb.DMatrix functionality [1.4s] ⠏ | 0 | feature_weights ⠏ | 0 | feature weights ⠹ | 3 | feature weights ✔ | 4 | feature weights ⠏ | 0 | glm ⠏ | 0 | Test generalized linear models ⠸ | 4 | Test generalized linear models ⠦ | 7 | Test generalized linear models ⠇ | 9 | Test generalized linear models ⠙ | 12 | Test generalized linear models ✔ | 13 | Test generalized linear models ⠏ | 0 | helpers ⠏ | 0 | Test helper functions ⠋ | 1 | Test helper functions ⠼ | 15 | Test helper functions ⠙ | 42 | Test helper functions ⠼ | 115 | Test helper functions ⠙ | 192 | Test helper functions ⠸ | 244 | Test helper functions ⠙ | 332 | Test helper functions ⠋ | 411 | Test helper functions ⠇ | 459 | Test helper functions ⠏ | 530 | Test helper functions ⠇ | 609 | Test helper functions ⠙ | 662 | Test helper functions ⠴ | 676 | Test helper functions ⠦ | 677 | Test helper functions ⠹ | 683 | Test helper functions ⠙ | 692 | Test helper functions ⠴ | 2 694 | Test helper functions ⠦ | 2 695 | Test helper functions ⠹ | 2 711 | Test helper functions ⠴ | 2 714 | Test helper functions ⠋ | 2 729 | Test helper functions ⠼ | 2 773 | Test helper functions ✖ | 2 786 | Test helper functions [4.1s] ──────────────────────────────────────────────────────────────────────────────── Error ('test_helpers.R:452:3'): xgb.plot.tree works with and without feature names Error: The DiagrammeR package is required for xgb.plot.tree Backtrace: ▆ 1. ├─testthat::expect_silent(xgb.plot.tree(model = bst.Tree.unnamed)) at test_helpers.R:452:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─xgboost::xgb.plot.tree(model = bst.Tree.unnamed) Error ('test_helpers.R:471:3'): xgb.plot.multi.trees works with and without feature names Error in `xgb.plot.multi.trees(model = bst.Tree.unnamed, features_keep = 3)`: DiagrammeR is required for xgb.plot.multi.trees Backtrace: ▆ 1. └─xgboost::xgb.plot.multi.trees(model = bst.Tree.unnamed, features_keep = 3) at test_helpers.R:471:3 ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | interaction_constraints ⠏ | 0 | interaction constraints ⠙ | 2 | interaction constraints ✔ | 2 | interaction constraints [4.0s] ⠏ | 0 | interactions ⠏ | 0 | Test prediction of feature interactions ⠸ | 4 | Test prediction of feature interactions ⠸ | 14 | Test prediction of feature interactions ✔ | 19 | Test prediction of feature interactions ⠏ | 0 | io ⠏ | 0 | Test model IO. ✔ | 5 | Test model IO. ⠏ | 0 | model_compatibility ⠏ | 0 | Models from previous versions of XGBoost can be loaded ⠋ | 1 | Models from previous versions of XGBoost can be loaded ⠇ | 29 | Models from previous versions of XGBoost can be loaded ⠏ | 80 | Models from previous versions of XGBoost can be loaded ⠧ | 118 | Models from previous versions of XGBoost can be loaded ✔ | 146 | Models from previous versions of XGBoost can be loaded [1.5s] ⠏ | 0 | monotone ⠏ | 0 | monotone constraints ✔ | 1 | monotone constraints ⠏ | 0 | parameter_exposure ⠏ | 0 | Test model params and call are exposed to R ✔ | 6 | Test model params and call are exposed to R ⠏ | 0 | poisson_regression ⠏ | 0 | Test Poisson regression model ✔ | 6 | Test Poisson regression model ⠏ | 0 | ranking ⠏ | 0 | Learning to rank ✔ | 14 | Learning to rank ⠏ | 0 | unicode ⠏ | 0 | Test Unicode handling ✔ | 3 | Test Unicode handling ⠏ | 0 | update ⠏ | 0 | update trees in an existing model ⠋ | 1 | update trees in an existing model ⠇ | 9 | update trees in an existing model ⠹ | 23 | update trees in an existing model ✔ | 26 | update trees in an existing model ⠏ | 0 | xgboost ⠧ | 28 | xgboost ⠹ | 63 | xgboost ⠸ | 84 | xgboost ⠙ | 102 | xgboost ⠹ | 133 | xgboost ⠸ | 154 | xgboost ⠼ | 195 | xgboost ⠼ | 225 | xgboost ⠏ | 300 | xgboost ⠧ | 368 | xgboost ✔ | 369 | xgboost [1.3s] ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 22.9 s ── Failed tests ──────────────────────────────────────────────────────────────── Error ('test_helpers.R:452:3'): xgb.plot.tree works with and without feature names Error: The DiagrammeR package is required for xgb.plot.tree Backtrace: ▆ 1. ├─testthat::expect_silent(xgb.plot.tree(model = bst.Tree.unnamed)) at test_helpers.R:452:3 2. │ └─testthat:::quasi_capture(enquo(object), NULL, evaluate_promise) 3. │ ├─testthat (local) .capture(...) 4. │ │ ├─withr::with_output_sink(...) 5. │ │ │ └─base::force(code) 6. │ │ ├─base::withCallingHandlers(...) 7. │ │ └─base::withVisible(code) 8. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 9. └─xgboost::xgb.plot.tree(model = bst.Tree.unnamed) Error ('test_helpers.R:471:3'): xgb.plot.multi.trees works with and without feature names Error in `xgb.plot.multi.trees(model = bst.Tree.unnamed, features_keep = 3)`: DiagrammeR is required for xgb.plot.multi.trees Backtrace: ▆ 1. └─xgboost::xgb.plot.multi.trees(model = bst.Tree.unnamed, features_keep = 3) at test_helpers.R:471:3 [ FAIL 2 | WARN 0 | SKIP 0 | PASS 1862 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.1.2.1
Check: package vignettes
Result: NOTE Package has ‘vignettes’ subdirectory but apparently no vignettes. Perhaps the ‘VignetteBuilder’ information is missing from the DESCRIPTION file? Flavor: r-devel-linux-x86_64-debian-gcc

Version: 3.1.2.1
Check: installed package size
Result: NOTE installed size is 100.2Mb sub-directories of 1Mb or more: doc 1.1Mb libs 98.5Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 3.1.2.1
Check: for GNU extensions in Makefiles
Result: NOTE GNU make is a SystemRequirements. Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64