R Under development (unstable) (2026-03-16 r89642 ucrt) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(xgboost) > library(Matrix) > > test_check("xgboost", reporter = ProgressReporter) ✔ | F W S OK | Context ⠏ | 0 | basic ⠏ | 0 | basic functions ⠙ | 2 | basic functions ⠙ | 12 | basic functions ⠴ | 26 | basic functions ⠼ | 35 | basic functions ⠏ | 40 | basic functions ⠏ | 50 | basic functions ⠧ | 58 | basic functions ⠏ | 70 | basic functions ⠙ | 72 | basic functions ⠇ | 79 | basic functions ⠹ | 83 | basic functions ⠸ | 84 | basic functions ⠴ | 96 | basic functions ⠼ | 105 | basic functions ⠼ | 115 | basic functions ⠋ | 121 | basic functions ⠹ | 133 | basic functions ⠦ | 147 | basic functions ⠼ | 155 | basic functions ⠙ | 1 161 | basic functions ✔ | 1 162 | basic functions [8.7s] ──────────────────────────────────────────────────────────────────────────────── Warning ('test_basic.R:1213:3'): xgb.train works with nrounds=0 (serialization, continuation, callbacks) NAs introduced by coercion Backtrace: ▆ 1. └─xgboost::xgb.train(...) at test_basic.R:1213:3 2. └─xgboost:::.execute.cb.after.iter(...) 3. └─base::sapply(...) 4. └─base::lapply(X = X, FUN = FUN, ...) 5. └─xgboost (local) FUN(X[[i]], ...) 6. └─cb$f_after_iter(cb$env, model, data, evals, iteration, iter_feval) 7. └─xgboost::xgb.attr(model, "best_iteration") ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | booster_slicing ⠏ | 0 | testing xgb.Booster slicing ⠙ | 2 | testing xgb.Booster slicing ⠧ | 8 | testing xgb.Booster slicing ⠙ | 22 | testing xgb.Booster slicing ✔ | 23 | testing xgb.Booster slicing ⠏ | 0 | callbacks ⠏ | 0 | callbacks ⠸ | 4 | callbacks ⠴ | 16 | callbacks ⠋ | 21 | callbacks ⠋ | 31 | callbacks ⠹ | 33 | callbacks ⠹ | 43 | callbacks ⠼ | 55 | callbacks ⠙ | 62 | callbacks ⠸ | 74 | callbacks ⠸ | 84 | callbacks ⠼ | 85 | callbacks ⠇ | 89 | callbacks ⠹ | 93 | callbacks ⠇ | 99 | callbacks ⠋ | 111 | callbacks ⠹ | 113 | callbacks ✔ | 114 | callbacks [2.6s] ⠏ | 0 | config ⠏ | 0 | Test global configuration ✔ | 8 | Test global configuration ⠏ | 0 | custom_objective ⠏ | 0 | Test models with custom objective ⠸ | 4 | Test models with custom objective ⠼ | 5 | Test models with custom objective ⠸ | 14 | Test models with custom objective ✔ | 18 | Test models with custom objective ⠏ | 0 | dmatrix ⠏ | 0 | testing xgb.DMatrix functionality ⠇ | 9 | testing xgb.DMatrix functionality [21:16:55] WARNING: src/data/data.cc:963: Text file input has been deprecated since 3.1 ⠇ | 19 | testing xgb.DMatrix functionality ⠧ | 38 | testing xgb.DMatrix functionality ⠏ | 40 | testing xgb.DMatrix functionality ⠏ | 50 | testing xgb.DMatrix functionality ⠼ | 65 | testing xgb.DMatrix functionality ⠏ | 70 | testing xgb.DMatrix functionality ⠦ | 77 | testing xgb.DMatrix functionality ⠏ | 90 | testing xgb.DMatrix functionality ⠹ | 93 | testing xgb.DMatrix functionality ⠧ | 108 | testing xgb.DMatrix functionality ⠧ | 118 | testing xgb.DMatrix functionality ⠙ | 132 | testing xgb.DMatrix functionality ✔ | 143 | testing xgb.DMatrix functionality [1.7s] ⠏ | 0 | feature_weights ⠏ | 0 | feature weights ⠋ | 1 | 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 ⠧ | 8 | Test generalized linear models ⠙ | 12 | Test generalized linear models ⠹ | 13 | Test generalized linear models ✔ | 13 | Test generalized linear models ⠏ | 0 | helpers ⠏ | 0 | Test helper functions ⠋ | 1 | Test helper functions ⠧ | 18 | Test helper functions ⠏ | 40 | Test helper functions ⠙ | 42 | Test helper functions ⠦ | 97 | Test helper functions ⠼ | 165 | Test helper functions ⠧ | 218 | Test helper functions ⠸ | 244 | Test helper functions ⠙ | 292 | Test helper functions ⠙ | 352 | Test helper functions ⠇ | 409 | Test helper functions ⠧ | 448 | Test helper functions ⠧ | 498 | Test helper functions ⠋ | 551 | Test helper functions ⠧ | 598 | Test helper functions ⠦ | 657 | Test helper functions ⠼ | 665 | Test helper functions ⠹ | 673 | Test helper functions ⠦ | 677 | Test helper functions ⠸ | 684 | Test helper functions ⠸ | 694 | Test helper functions ⠦ | 697 | Test helper functions ⠧ | 698 | Test helper functions ⠇ | 699 | Test helper functions ⠋ | 711 | Test helper functions ⠴ | 716 | Test helper functions ⠇ | 719 | Test helper functions ⠹ | 733 | Test helper functions ⠼ | 775 | Test helper functions ✔ | 790 | Test helper functions [5.8s] ⠏ | 0 | interaction_constraints ⠏ | 0 | interaction constraints ⠙ | 2 | interaction constraints ✔ | 2 | interaction constraints [7.0s] ⠏ | 0 | interactions ⠏ | 0 | Test prediction of feature interactions ⠋ | 1 | Test prediction of feature interactions ⠸ | 4 | Test prediction of feature interactions ⠹ | 13 | Test prediction of feature interactions ⠧ | 18 | Test prediction of feature interactions ✔ | 19 | Test prediction of feature interactions [1.2s] ⠏ | 0 | io ⠏ | 0 | Test model IO. ⠙ | 2 | 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 ⠇ | 19 | Models from previous versions of XGBoost can be loaded ⠹ | 43 | Models from previous versions of XGBoost can be loaded ⠏ | 80 | Models from previous versions of XGBoost can be loaded ⠙ | 92 | Models from previous versions of XGBoost can be loaded ⠦ | 117 | Models from previous versions of XGBoost can be loaded ✔ | 146 | Models from previous versions of XGBoost can be loaded [2.1s] ⠏ | 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 ⠇ | 9 | Learning to rank ✔ | 14 | Learning to rank ⠏ | 0 | unicode ⠏ | 0 | Test Unicode handling ⠹ | 3 | Test Unicode handling ✔ | 3 | Test Unicode handling ⠏ | 0 | update ⠏ | 0 | update trees in an existing model ⠋ | 1 | update trees in an existing model ⠼ | 5 | update trees in an existing model ⠋ | 11 | update trees in an existing model ⠇ | 19 | update trees in an existing model ✔ | 26 | update trees in an existing model ⠏ | 0 | xgboost ⠹ | 3 | xgboost ⠴ | 46 | xgboost ⠸ | 64 | xgboost ⠧ | 78 | xgboost ⠴ | 96 | xgboost ⠦ | 117 | xgboost ⠙ | 132 | xgboost ⠋ | 141 | xgboost ⠋ | 151 | xgboost ⠇ | 169 | xgboost ⠸ | 184 | xgboost ⠧ | 198 | xgboost ⠏ | 210 | xgboost ⠧ | 228 | xgboost ⠙ | 252 | xgboost ⠙ | 282 | xgboost ⠹ | 303 | xgboost ⠙ | 332 | xgboost ⠙ | 362 | xgboost ✔ | 369 | xgboost [2.1s] ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 34.6 s [ FAIL 0 | WARN 1 | SKIP 0 | PASS 1872 ] > RhpcBLASctl::omp_set_num_threads(1) > > proc.time() user system elapsed 33.21 5.48 36.89