R Under development (unstable) (2026-01-10 r89298 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 ⠼ | 25 | basic functions ⠼ | 35 | basic functions ⠧ | 38 | basic functions ⠹ | 43 | basic functions ⠏ | 50 | basic functions ⠧ | 58 | basic functions ⠏ | 70 | basic functions ⠙ | 72 | basic functions ⠋ | 81 | basic functions ⠸ | 84 | basic functions ⠴ | 96 | basic functions ⠹ | 103 | basic functions ⠼ | 115 | basic functions ⠼ | 125 | basic functions ⠦ | 137 | basic functions ⠴ | 146 | basic functions ⠋ | 151 | basic functions ⠏ | 160 | basic functions ✔ | 1 162 | basic functions [10.1s] ──────────────────────────────────────────────────────────────────────────────── 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 ⠴ | 16 | testing xgb.Booster slicing ✔ | 23 | testing xgb.Booster slicing ⠏ | 0 | callbacks ⠏ | 0 | callbacks ⠙ | 2 | callbacks ⠼ | 15 | callbacks ⠋ | 21 | callbacks ⠋ | 31 | callbacks ⠹ | 33 | callbacks ⠹ | 43 | callbacks ⠹ | 53 | callbacks ⠙ | 62 | callbacks ⠹ | 73 | callbacks ⠹ | 83 | callbacks ⠼ | 85 | callbacks ⠇ | 89 | callbacks ⠹ | 93 | callbacks ⠇ | 99 | callbacks ⠋ | 111 | callbacks ⠹ | 113 | callbacks ✔ | 114 | callbacks [3.0s] ⠏ | 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 ⠸ | 14 | Test models with custom objective ✔ | 18 | Test models with custom objective ⠏ | 0 | dmatrix ⠏ | 0 | testing xgb.DMatrix functionality ⠏ | 10 | testing xgb.DMatrix functionality [08:11:45] WARNING: src/data/data.cc:937: Text file input has been deprecated since 3.1 ⠸ | 24 | testing xgb.DMatrix functionality ⠧ | 38 | testing xgb.DMatrix functionality ⠏ | 40 | testing xgb.DMatrix functionality ⠧ | 48 | testing xgb.DMatrix functionality ⠙ | 62 | testing xgb.DMatrix functionality ⠇ | 69 | testing xgb.DMatrix functionality ⠼ | 75 | testing xgb.DMatrix functionality ⠴ | 86 | testing xgb.DMatrix functionality ⠹ | 93 | testing xgb.DMatrix functionality ⠼ | 105 | testing xgb.DMatrix functionality ⠇ | 119 | testing xgb.DMatrix functionality ⠙ | 132 | testing xgb.DMatrix functionality ✔ | 143 | testing xgb.DMatrix functionality [1.6s] ⠏ | 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 ⠇ | 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 ⠧ | 38 | Test helper functions ⠙ | 42 | Test helper functions ⠧ | 88 | Test helper functions ⠙ | 132 | Test helper functions ⠧ | 178 | Test helper functions ⠇ | 219 | Test helper functions ⠸ | 244 | Test helper functions ⠴ | 296 | Test helper functions ⠙ | 352 | Test helper functions ⠼ | 405 | Test helper functions ⠧ | 448 | Test helper functions ⠇ | 499 | Test helper functions ⠇ | 559 | Test helper functions ⠏ | 610 | Test helper functions ⠏ | 660 | Test helper functions ⠴ | 666 | Test helper functions ⠴ | 676 | 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 ⠼ | 715 | Test helper functions ⠦ | 717 | Test helper functions ⠏ | 720 | Test helper functions ⠼ | 735 | Test helper functions ⠸ | 774 | Test helper functions ✔ | 790 | Test helper functions [5.8s] ⠏ | 0 | interaction_constraints ⠏ | 0 | interaction constraints ⠙ | 2 | interaction constraints ✔ | 2 | interaction constraints [7.3s] ⠏ | 0 | interactions ⠏ | 0 | Test prediction of feature interactions ⠋ | 1 | Test prediction of feature interactions ⠸ | 4 | Test prediction of feature interactions ⠙ | 12 | Test prediction of feature interactions ⠼ | 15 | 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 ⠦ | 47 | Models from previous versions of XGBoost can be loaded ⠋ | 81 | Models from previous versions of XGBoost can be loaded ⠇ | 89 | Models from previous versions of XGBoost can be loaded ⠸ | 114 | Models from previous versions of XGBoost can be loaded ⠸ | 144 | 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 ⠹ | 3 | 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 ⠋ | 11 | Learning to rank ✔ | 14 | Learning to rank ⠏ | 0 | unicode ⠏ | 0 | Test Unicode handling ⠙ | 2 | Test Unicode handling ✔ | 3 | Test Unicode handling ⠏ | 0 | update ⠏ | 0 | update trees in an existing model ⠋ | 1 | update trees in an existing model ⠧ | 8 | update trees in an existing model ⠹ | 13 | update trees in an existing model ⠹ | 23 | update trees in an existing model ✔ | 26 | update trees in an existing model ⠏ | 0 | xgboost ⠴ | 6 | xgboost ⠼ | 35 | xgboost ⠏ | 60 | xgboost ⠴ | 76 | xgboost ⠧ | 88 | xgboost ⠴ | 106 | xgboost ⠙ | 122 | xgboost ⠦ | 137 | xgboost ⠸ | 144 | xgboost ⠋ | 161 | xgboost ⠦ | 187 | xgboost ⠸ | 204 | xgboost ⠙ | 222 | xgboost ⠇ | 249 | xgboost ⠧ | 278 | xgboost ⠧ | 318 | xgboost ⠹ | 343 | xgboost ⠧ | 368 | xgboost ✔ | 369 | xgboost [2.0s] ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 36.3 s [ FAIL 0 | WARN 1 | SKIP 0 | PASS 1872 ] > RhpcBLASctl::omp_set_num_threads(1) > > proc.time() user system elapsed 33.03 7.29 38.54