CRAN Package Check Results for Package xgboost

Last updated on 2025-07-14 20:48:42 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.11.1 491.07 301.33 792.40 OK
r-devel-linux-x86_64-debian-gcc 1.7.11.1 422.98 186.76 609.74 OK
r-devel-linux-x86_64-fedora-clang 1.7.11.1 1168.77 ERROR
r-devel-linux-x86_64-fedora-gcc 1.7.11.1 1242.47 ERROR
r-devel-windows-x86_64 1.7.11.1 582.00 290.00 872.00 OK
r-patched-linux-x86_64 1.7.11.1 587.85 274.01 861.86 OK
r-release-linux-x86_64 1.7.11.1 574.13 280.85 854.98 ERROR
r-release-macos-arm64 1.7.11.1 342.00 OK
r-release-macos-x86_64 1.7.11.1 563.00 OK
r-release-windows-x86_64 1.7.11.1 589.00 296.00 885.00 ERROR
r-oldrel-macos-arm64 1.7.11.1 334.00 NOTE
r-oldrel-macos-x86_64 1.7.11.1 539.00 NOTE
r-oldrel-windows-x86_64 1.7.11.1 717.00 402.00 1119.00 NOTE

Check Details

Version: 1.7.11.1
Check: tests
Result: ERROR Running ‘testthat.R’ [163s/194s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(xgboost) > > test_check("xgboost", reporter = ProgressReporter) ✔ | F W S OK | Context ⠏ | 0 | basic ⠏ | 0 | basic functions ⠋ | 1 | basic functions ⠴ | 6 | basic functions [08:43:55] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠹ | 13 | basic functions [1] train-rmse:1.678965 [2] train-rmse:1.678965 [3] train-rmse:1.524624 [4] train-rmse:1.501872 [5] train-rmse:1.360458 [6] train-rmse:1.319112 [7] train-rmse:1.309933 [8] train-rmse:1.331824 [9] train-rmse:1.334463 [10] train-rmse:1.332656 [11] train-rmse:1.319598 [12] train-rmse:1.285986 [13] train-rmse:1.277686 [14] train-rmse:1.262171 [15] train-rmse:1.278412 [16] train-rmse:1.263180 [17] train-rmse:1.268462 [18] train-rmse:1.277994 [19] train-rmse:1.289573 [20] train-rmse:1.296412 [21] train-rmse:1.293499 [22] train-rmse:1.303902 [23] train-rmse:1.307644 [24] train-rmse:1.314784 [25] train-rmse:1.320882 [26] train-rmse:1.318741 [27] train-rmse:1.325712 [28] train-rmse:1.314415 [29] train-rmse:1.316439 [30] train-rmse:1.318352 [31] train-rmse:1.319347 [32] train-rmse:1.303418 [08:43:55] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:43:55] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠴ | 16 | basic functions [08:43:55] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠋ | 31 | basic functions [1] train-error:0.037310 ⠦ | 37 | basic functions [08:43:55] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠹ | 43 | basic functions [08:43:55] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠋ | 51 | basic functions ⠦ | 57 | basic functions [1] train-logloss:0.439409 [2] train-logloss:0.299260 [3] train-logloss:0.209937 [4] train-logloss:0.150151 ⠇ | 59 | basic functions ⠏ | 60 | basic functions [1] train-logloss:0.233470+0.001565 test-logloss:0.233607+0.004930 [2] train-logloss:0.136851+0.001767 test-logloss:0.137010+0.006645 [1] train-logloss:0.233482+0.001761 test-logloss:0.233527+0.005591 [2] train-logloss:0.136860+0.002158 test-logloss:0.136933+0.007299 ⠋ | 71 | basic functions ⠙ | 72 | basic functions ⠹ | 73 | basic functions ⠦ | 77 | basic functions ⠏ | 80 | basic functions [1] train-logloss:0.380598 [2] train-logloss:0.247331 [3] train-logloss:0.175047 [4] train-logloss:0.122301 [5] train-logloss:0.089889 [1] train-logloss:0.497338 [2] train-logloss:0.357306 [3] train-logloss:0.257215 [4] train-logloss:0.184518 [5] train-logloss:0.132113 ⠙ | 82 | basic functions ⠸ | 84 | basic functions [1] train-error:0.046522 train-auc:0.958228 train-logloss:0.233376 [2] train-error:0.022263 train-auc:0.981413 train-logloss:0.136658 [1] train-merror:0.040000 [2] train-merror:0.026667 ⠴ | 86 | basic functions [1] train-error:0.046522 train-auc:0.958228 train-logloss:0.482541 [2] train-error:0.046522 train-auc:0.987161 train-logloss:0.359536 ⠸ | 94 | basic functions ⠇ | 99 | basic functions ✔ | 100 | basic functions [14.9s] ⠏ | 0 | callbacks ⠏ | 0 | callbacks ⠼ | 5 | callbacks [1] train-auc:0.900000 test-auc:0.800000 ⠴ | 26 | callbacks ⠸ | 34 | callbacks ⠇ | 39 | callbacks ⠇ | 1 48 | callbacks ⠙ | 1 51 | callbacks ⠧ | 1 57 | callbacks ⠹ | 1 62 | callbacks [08:44:10] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [1] train-auc:0.829749 Will train until train_auc hasn't improved in 3 rounds. [2] train-auc:0.829749 [3] train-auc:0.829749 [4] train-auc:0.829749 Stopping. Best iteration: [1] train-auc:0.829749 ⠏ | 1 69 | callbacks ⠼ | 1 74 | callbacks ⠇ | 1 78 | callbacks ⠼ | 1 84 | callbacks ✔ | 1 95 | callbacks [2.8s] ──────────────────────────────────────────────────────────────────────────────── Warning ('test_callbacks.R:200:3'): cb.save.model works as expected one argument not used by format 'xgboost.json' Backtrace: ▆ 1. └─xgboost::xgb.train(...) at test_callbacks.R:200:3 2. └─xgboost (local) f() 3. ├─xgboost::xgb.save(env$bst, sprintf(save_name, env$iteration)) 4. └─base::sprintf(save_name, env$iteration) ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | config ⠏ | 0 | Test global configuration ✔ | 8 | Test global configuration ⠏ | 0 | custom_objective ⠏ | 0 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 ⠋ | 1 | Test models with custom objective ⠼ | 5 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 [3] eval-error:0.018001 train-error:0.015200 [4] eval-error:0.018001 train-error:0.015200 [5] eval-error:0.006207 train-error:0.007063 [6] eval-error:0.000000 train-error:0.001228 [7] eval-error:0.000000 train-error:0.001228 [8] eval-error:0.000000 train-error:0.001228 [9] eval-error:0.000000 train-error:0.001228 [10] eval-error:0.000000 train-error:0.000000 ⠧ | 8 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 ⠏ | 10 | Test models with custom objective ✔ | 12 | Test models with custom objective [1.7s] ⠏ | 0 | dmatrix ⠏ | 0 | testing xgb.DMatrix functionality ⠙ | 12 | testing xgb.DMatrix functionality ⠸ | 14 | testing xgb.DMatrix functionality [08:44:14] 6513x126 matrix with 143286 entries loaded from /tmp/RtmpZWCIn2/working_dir/Rtmp6QBADO/xgb.DMatrix_2f016f30773c ⠼ | 25 | testing xgb.DMatrix functionality ⠋ | 1 30 | testing xgb.DMatrix functionality ⠦ | 1 36 | testing xgb.DMatrix functionality ⠇ | 1 38 | testing xgb.DMatrix functionality ✔ | 1 44 | testing xgb.DMatrix functionality [1.1s] ──────────────────────────────────────────────────────────────────────────────── Warning ('test_dmatrix.R:125:3'): xgb.DMatrix: getinfo & setinfo NAs introduced by coercion Backtrace: ▆ 1. ├─testthat::expect_error(setinfo(dtest, "weight", rep("a", nrow(test_data)))) at test_dmatrix.R:125:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─xgboost::setinfo(dtest, "weight", rep("a", nrow(test_data))) 7. └─xgboost:::setinfo.xgb.DMatrix(dtest, "weight", rep("a", nrow(test_data))) ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | gc_safety ⠏ | 0 | Garbage Collection Safety Check [1] train-logloss:0.233376 [2] train-logloss:0.136658 ⠋ | 1 | Garbage Collection Safety Check ✔ | 1 | Garbage Collection Safety Check [144.8s] ⠏ | 0 | glm ⠏ | 0 | Test generalized linear models ⠙ | 2 | Test generalized linear models ⠴ | 6 | Test generalized linear models ⠧ | 8 | Test generalized linear models [1] eval-error:0.002483 train-error:0.004760 Multiple eval metrics are present. Will use train_error for early stopping. Will train until train_error hasn't improved in 1 rounds. [2] eval-error:0.000621 train-error:0.002610 [3] eval-error:0.000000 train-error:0.001842 [4] eval-error:0.000000 train-error:0.001228 [5] eval-error:0.000000 train-error:0.000614 [6] eval-error:0.000000 train-error:0.000614 Stopping. Best iteration: [5] eval-error:0.000000 train-error:0.000614 ⠙ | 12 | Test generalized linear models [1] eval-error:0.002483 train-error:0.004760 Multiple eval metrics are present. Will use train_error for early stopping. Will train until train_error hasn't improved in 1 rounds. [2] eval-error:0.000621 train-error:0.002610 [3] eval-error:0.000000 train-error:0.001842 [4] eval-error:0.000000 train-error:0.001228 [5] eval-error:0.000000 train-error:0.000614 [6] eval-error:0.000000 train-error:0.000614 Stopping. Best iteration: [5] eval-error:0.000000 train-error:0.000614 ✔ | 13 | Test generalized linear models ⠏ | 0 | helpers ⠏ | 0 | Test helper functions ⠋ | 1 | Test helper functions [1] train-logloss:0.636592 ⠼ | 15 | Test helper functions ⠏ | 30 | Test helper functions [1] train-rmse:1.940066 [2] train-rmse:1.560864 [3] train-rmse:1.277414 [4] train-rmse:1.068562 [5] train-rmse:0.903897 [6] train-rmse:0.763228 [7] train-rmse:0.664924 [8] train-rmse:0.570358 [9] train-rmse:0.507416 [10] train-rmse:0.458599 [11] train-rmse:0.394349 [12] train-rmse:0.355794 [13] train-rmse:0.305484 [14] train-rmse:0.271176 [15] train-rmse:0.259943 [16] train-rmse:0.238429 [17] train-rmse:0.228003 [18] train-rmse:0.212117 [19] train-rmse:0.187830 [20] train-rmse:0.173381 [21] train-rmse:0.164001 [22] train-rmse:0.156113 [23] train-rmse:0.143242 [24] train-rmse:0.130215 [25] train-rmse:0.120160 [26] train-rmse:0.112119 [27] train-rmse:0.104753 [28] train-rmse:0.096786 [29] train-rmse:0.089361 [30] train-rmse:0.083706 ⠧ | 48 | Test helper functions ⠦ | 87 | Test helper functions ⠋ | 131 | Test helper functions ⠸ | 174 | Test helper functions ⠼ | 215 | Test helper functions [1] train-rmse:1.940066 [2] train-rmse:1.675038 [3] train-rmse:1.462383 [4] train-rmse:1.283198 [5] train-rmse:1.155542 [6] train-rmse:1.030741 [7] train-rmse:0.934380 [8] train-rmse:0.859785 [9] train-rmse:0.793941 [10] train-rmse:0.737530 [11] train-rmse:0.697211 [12] train-rmse:0.651627 [13] train-rmse:0.613441 [14] train-rmse:0.570483 [15] train-rmse:0.532537 [16] train-rmse:0.491001 [17] train-rmse:0.450223 [18] train-rmse:0.430063 [19] train-rmse:0.406254 [20] train-rmse:0.394320 [21] train-rmse:0.369744 [22] train-rmse:0.349086 [23] train-rmse:0.328354 [24] train-rmse:0.306675 [25] train-rmse:0.285160 [26] train-rmse:0.268008 [27] train-rmse:0.247914 [28] train-rmse:0.236079 [29] train-rmse:0.224081 [30] train-rmse:0.220884 ⠏ | 250 | Test helper functions ⠧ | 278 | Test helper functions ⠧ | 318 | Test helper functions ⠙ | 362 | Test helper functions ⠹ | 393 | Test helper functions ⠸ | 434 | Test helper functions ⠙ | 462 | Test helper functions ⠦ | 487 | Test helper functions ⠹ | 513 | Test helper functions ⠙ | 542 | Test helper functions ⠋ | 581 | Test helper functions ⠙ | 612 | Test helper functions ⠋ | 641 | Test helper functions ⠏ | 660 | Test helper functions ⠏ | 670 | Test helper functions ⠸ | 674 | Test helper functions ⠙ | 682 | Test helper functions ⠹ | 683 | Test helper functions ⠏ | 690 | Test helper functions ⠋ | 691 | Test helper functions ⠙ | 1 691 | Test helper functions ⠹ | 1 692 | Test helper functions ⠸ | 1 693 | Test helper functions ⠼ | 1 704 | Test helper functions ⠇ | 1 708 | Test helper functions ⠋ | 1 730 | Test helper functions ✔ | 1 739 | Test helper functions [8.4s] ⠏ | 0 | interaction_constraints ⠏ | 0 | interaction constraints ⠋ | 1 | interaction constraints ✔ | 1 | interaction constraints [10.7s] ⠏ | 0 | interactions ⠏ | 0 | Test prediction of feature interactions ⠋ | 1 | Test prediction of feature interactions ⠙ | 2 | Test prediction of feature interactions ⠸ | 4 | Test prediction of feature interactions [1] train-logloss:0.482541 [2] train-logloss:0.359536 [3] train-logloss:0.279935 [4] train-logloss:0.218599 ✔ | 8 | Test prediction of feature interactions ⠏ | 0 | io ⠏ | 0 | Test model IO. [1] train-logloss:0.439409 [2] train-logloss:0.299260 [3] train-logloss:0.209937 [4] train-logloss:0.150151 [5] train-logloss:0.108673 [6] train-logloss:0.079348 [7] train-logloss:0.058385 [8] train-logloss:0.043147 ⠋ | 1 | Test model IO. ✔ | 2 | Test model IO. ⠏ | 0 | model_compatibility ⠏ | 0 | Models from previous versions of XGBoost can be loaded ⠋ | 1 0 | Models from previous versions of XGBoost can be loaded ✖ | 1 1 0 | Models from previous versions of XGBoost can be loaded ──────────────────────────────────────────────────────────────────────────────── Warning ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip': HTTP status was '403 Forbidden' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 Error ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded Error in `download.file(paste("https://", bucket, ".s3-", region, ".amazonaws.com/", file_name, sep = ""), destfile = zipfile, mode = "wb", quiet = TRUE)`: cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | parameter_exposure ⠏ | 0 | Test model params and call are exposed to R ⠋ | 1 | Test model params and call are exposed to R ✔ | 6 | Test model params and call are exposed to R ⠏ | 0 | ranking ⠏ | 0 | Learning to rank [1] train-auc:0.575000 train-aucpr:0.550000 [2] train-auc:0.650000 train-aucpr:0.700000 [3] train-auc:0.725000 train-aucpr:0.850000 [4] train-auc:0.800000 train-aucpr:1.000000 [5] train-auc:0.800000 train-aucpr:1.000000 [6] train-auc:0.800000 train-aucpr:1.000000 [7] train-auc:0.800000 train-aucpr:1.000000 [8] train-auc:0.800000 train-aucpr:1.000000 [9] train-auc:0.800000 train-aucpr:1.000000 [10] train-auc:0.800000 train-aucpr:1.000000 [1] train-auc:0.575000 train-aucpr:0.550000 [2] train-auc:0.650000 train-aucpr:0.700000 [3] train-auc:0.725000 train-aucpr:0.850000 [4] train-auc:0.725000 train-aucpr:0.850000 [5] train-auc:0.725000 train-aucpr:0.850000 [6] train-auc:0.725000 train-aucpr:0.850000 [7] train-auc:0.725000 train-aucpr:0.850000 [8] train-auc:0.800000 train-aucpr:1.000000 [9] train-auc:0.800000 train-aucpr:1.000000 [10] train-auc:0.800000 train-aucpr:1.000000 [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠼ | 5 | Learning to rank [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠹ | 13 | Learning to rank [08:47:01] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ✔ | 14 | Learning to rank ⠏ | 0 | unicode ⠏ | 0 | Test Unicode handling [1] train-error:0.046522 [2] train-error:0.022263 ⠋ | 1 | Test Unicode handling ✔ | 3 | Test Unicode handling ⠏ | 0 | update ⠏ | 0 | update trees in an existing model [08:47:02] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [08:47:02] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [08:47:02] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠋ | 1 | update trees in an existing model [08:47:02] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠹ | 3 | update trees in an existing model [08:47:02] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠧ | 8 | update trees in an existing model [08:47:02] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠹ | 13 | update trees in an existing model [08:47:02] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠴ | 16 | update trees in an existing model [08:47:03] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠇ | 19 | update trees in an existing model ✔ | 22 | update trees in an existing model [1.1s] ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 188.9 s ── Skipped tests (1) ─────────────────────────────────────────────────────────── • empty test (1): 'test_helpers.R:322:1' ── Failed tests ──────────────────────────────────────────────────────────────── Error ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded Error in `download.file(paste("https://", bucket, ".s3-", region, ".amazonaws.com/", file_name, sep = ""), destfile = zipfile, mode = "wb", quiet = TRUE)`: cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 [ FAIL 1 | WARN 3 | SKIP 1 | PASS 1068 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.7.11.1
Check: tests
Result: ERROR Running ‘testthat.R’ [103s/99s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(xgboost) > > test_check("xgboost", reporter = ProgressReporter) ✔ | F W S OK | Context ⠏ | 0 | basic ⠏ | 0 | basic functions ⠋ | 1 | basic functions [08:18:51] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠙ | 12 | basic functions [1] train-rmse:1.678965 [2] train-rmse:1.678965 [3] train-rmse:1.524624 [4] train-rmse:1.441523 [5] train-rmse:1.437758 [6] train-rmse:1.377895 [7] train-rmse:1.305894 [8] train-rmse:1.336120 [9] train-rmse:1.316072 [10] train-rmse:1.316031 [11] train-rmse:1.319404 [12] train-rmse:1.235097 [13] train-rmse:1.225430 [14] train-rmse:1.221079 [15] train-rmse:1.235220 [16] train-rmse:1.219153 [17] train-rmse:1.226439 [18] train-rmse:1.235026 [19] train-rmse:1.244651 [20] train-rmse:1.253197 [21] train-rmse:1.262494 [22] train-rmse:1.272865 [23] train-rmse:1.276073 [24] train-rmse:1.277040 [25] train-rmse:1.287974 [26] train-rmse:1.289816 [27] train-rmse:1.292365 [28] train-rmse:1.282785 [29] train-rmse:1.283805 [30] train-rmse:1.290661 [31] train-rmse:1.289439 [32] train-rmse:1.281995 [08:18:51] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:18:51] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠇ | 19 | basic functions [08:18:51] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [1] train-error:0.028405 ⠦ | 37 | basic functions [08:18:51] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠸ | 44 | basic functions [08:18:51] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠋ | 51 | basic functions [1] train-logloss:0.439409 [2] train-logloss:0.299260 [3] train-logloss:0.209937 [4] train-logloss:0.150151 ⠏ | 60 | basic functions [1] train-logloss:0.233470+0.001565 test-logloss:0.233607+0.004930 [2] train-logloss:0.136851+0.001767 test-logloss:0.137010+0.006645 [1] train-logloss:0.233482+0.001761 test-logloss:0.233527+0.005591 [2] train-logloss:0.136860+0.002158 test-logloss:0.136933+0.007299 ⠋ | 71 | basic functions ⠙ | 72 | basic functions ⠹ | 73 | basic functions ⠦ | 77 | basic functions [1] train-logloss:0.380598 [2] train-logloss:0.247331 [3] train-logloss:0.175047 [4] train-logloss:0.122301 [5] train-logloss:0.089889 [1] train-logloss:0.497338 [2] train-logloss:0.357306 [3] train-logloss:0.257215 [4] train-logloss:0.184518 [5] train-logloss:0.132113 ⠙ | 82 | basic functions [1] train-error:0.046522 train-auc:0.958228 train-logloss:0.233376 [2] train-error:0.022263 train-auc:0.981413 train-logloss:0.136658 [1] train-merror:0.040000 [2] train-merror:0.026667 ⠴ | 86 | basic functions [1] train-error:0.046522 train-auc:0.958228 train-logloss:0.482541 [2] train-error:0.046522 train-auc:0.987161 train-logloss:0.359536 ⠸ | 94 | basic functions ✔ | 100 | basic functions [7.1s] ⠏ | 0 | callbacks ⠏ | 0 | callbacks [1] train-auc:0.900000 test-auc:0.800000 ⠋ | 21 | callbacks ⠏ | 30 | callbacks ⠇ | 39 | callbacks ⠋ | 1 50 | callbacks ⠧ | 1 57 | callbacks [08:18:58] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [1] train-auc:0.829749 Will train until train_auc hasn't improved in 3 rounds. [2] train-auc:0.829749 [3] train-auc:0.829749 [4] train-auc:0.829749 Stopping. Best iteration: [1] train-auc:0.829749 ⠇ | 1 68 | callbacks ⠏ | 1 69 | callbacks ⠼ | 1 74 | callbacks ⠇ | 1 78 | callbacks ⠼ | 1 84 | callbacks ✔ | 1 95 | callbacks [1.7s] ──────────────────────────────────────────────────────────────────────────────── Warning ('test_callbacks.R:200:3'): cb.save.model works as expected one argument not used by format 'xgboost.json' Backtrace: ▆ 1. └─xgboost::xgb.train(...) at test_callbacks.R:200:3 2. └─xgboost (local) f() 3. ├─xgboost::xgb.save(env$bst, sprintf(save_name, env$iteration)) 4. └─base::sprintf(save_name, env$iteration) ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | config ⠏ | 0 | Test global configuration ✔ | 8 | Test global configuration ⠏ | 0 | custom_objective ⠏ | 0 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 ⠼ | 5 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 [3] eval-error:0.018001 train-error:0.015200 [4] eval-error:0.018001 train-error:0.015200 [5] eval-error:0.006207 train-error:0.007063 [6] eval-error:0.000000 train-error:0.001228 [7] eval-error:0.000000 train-error:0.001228 [8] eval-error:0.000000 train-error:0.001228 [9] eval-error:0.000000 train-error:0.001228 [10] eval-error:0.000000 train-error:0.000000 [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 ⠏ | 10 | Test models with custom objective ✔ | 12 | Test models with custom objective ⠏ | 0 | dmatrix ⠏ | 0 | testing xgb.DMatrix functionality ⠸ | 14 | testing xgb.DMatrix functionality [08:19:00] 6513x126 matrix with 143286 entries loaded from /tmp/RtmpvWmpfD/working_dir/Rtmp5UOAFL/xgb.DMatrix_3f50a71423f130 ⠦ | 1 36 | testing xgb.DMatrix functionality ⠇ | 1 38 | testing xgb.DMatrix functionality ✔ | 1 44 | testing xgb.DMatrix functionality ──────────────────────────────────────────────────────────────────────────────── Warning ('test_dmatrix.R:125:3'): xgb.DMatrix: getinfo & setinfo NAs introduced by coercion Backtrace: ▆ 1. ├─testthat::expect_error(setinfo(dtest, "weight", rep("a", nrow(test_data)))) at test_dmatrix.R:125:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─xgboost::setinfo(dtest, "weight", rep("a", nrow(test_data))) 7. └─xgboost:::setinfo.xgb.DMatrix(dtest, "weight", rep("a", nrow(test_data))) ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | gc_safety ⠏ | 0 | Garbage Collection Safety Check [1] train-logloss:0.233376 [2] train-logloss:0.136658 ⠋ | 1 | Garbage Collection Safety Check ✔ | 1 | Garbage Collection Safety Check [71.6s] ⠏ | 0 | glm ⠏ | 0 | Test generalized linear models ⠴ | 6 | Test generalized linear models ⠧ | 8 | Test generalized linear models [1] eval-error:0.002483 train-error:0.004760 Multiple eval metrics are present. Will use train_error for early stopping. Will train until train_error hasn't improved in 1 rounds. [2] eval-error:0.000621 train-error:0.002610 [3] eval-error:0.000000 train-error:0.001842 [4] eval-error:0.000000 train-error:0.001228 [5] eval-error:0.000000 train-error:0.000614 [6] eval-error:0.000000 train-error:0.000614 Stopping. Best iteration: [5] eval-error:0.000000 train-error:0.000614 ⠙ | 12 | Test generalized linear models [1] eval-error:0.002483 train-error:0.004760 Multiple eval metrics are present. Will use train_error for early stopping. Will train until train_error hasn't improved in 1 rounds. [2] eval-error:0.000621 train-error:0.002610 [3] eval-error:0.000000 train-error:0.001842 [4] eval-error:0.000000 train-error:0.001228 [5] eval-error:0.000000 train-error:0.000614 [6] eval-error:0.000000 train-error:0.000614 Stopping. Best iteration: [5] eval-error:0.000000 train-error:0.000614 ⠹ | 13 | Test generalized linear models ✔ | 13 | Test generalized linear models ⠏ | 0 | helpers ⠏ | 0 | Test helper functions ⠋ | 1 | Test helper functions [1] train-logloss:0.636592 ⠙ | 22 | Test helper functions [1] train-rmse:1.940066 [2] train-rmse:1.560864 [3] train-rmse:1.277414 [4] train-rmse:1.068562 [5] train-rmse:0.903897 [6] train-rmse:0.763228 [7] train-rmse:0.664924 [8] train-rmse:0.570358 [9] train-rmse:0.507416 [10] train-rmse:0.458599 [11] train-rmse:0.394349 [12] train-rmse:0.355794 [13] train-rmse:0.305484 [14] train-rmse:0.271176 [15] train-rmse:0.259943 [16] train-rmse:0.238429 [17] train-rmse:0.228003 [18] train-rmse:0.212117 [19] train-rmse:0.187830 [20] train-rmse:0.173381 [21] train-rmse:0.164001 [22] train-rmse:0.156113 [23] train-rmse:0.143242 [24] train-rmse:0.130215 [25] train-rmse:0.120160 [26] train-rmse:0.112119 [27] train-rmse:0.104753 [28] train-rmse:0.096786 [29] train-rmse:0.089361 [30] train-rmse:0.083706 ⠧ | 48 | Test helper functions ⠸ | 104 | Test helper functions ⠼ | 165 | Test helper functions ⠹ | 223 | Test helper functions [1] train-rmse:1.940066 [2] train-rmse:1.675038 [3] train-rmse:1.462383 [4] train-rmse:1.283198 [5] train-rmse:1.155542 [6] train-rmse:1.049559 [7] train-rmse:0.942910 [8] train-rmse:0.859371 [9] train-rmse:0.774970 [10] train-rmse:0.725452 [11] train-rmse:0.679127 [12] train-rmse:0.628614 [13] train-rmse:0.594549 [14] train-rmse:0.535545 [15] train-rmse:0.485623 [16] train-rmse:0.460187 [17] train-rmse:0.413632 [18] train-rmse:0.403692 [19] train-rmse:0.385314 [20] train-rmse:0.366653 [21] train-rmse:0.354532 [22] train-rmse:0.326526 [23] train-rmse:0.316875 [24] train-rmse:0.301910 [25] train-rmse:0.285458 [26] train-rmse:0.275437 [27] train-rmse:0.267556 [28] train-rmse:0.263727 [29] train-rmse:0.253460 [30] train-rmse:0.235433 ⠏ | 250 | Test helper functions ⠦ | 307 | Test helper functions ⠦ | 367 | Test helper functions ⠼ | 425 | Test helper functions ⠴ | 466 | Test helper functions ⠹ | 513 | Test helper functions ⠇ | 559 | Test helper functions ⠦ | 607 | Test helper functions ⠙ | 652 | Test helper functions ⠙ | 672 | Test helper functions ⠏ | 680 | Test helper functions ⠹ | 683 | Test helper functions ⠏ | 690 | Test helper functions ⠋ | 691 | Test helper functions ⠙ | 1 691 | Test helper functions ⠹ | 1 692 | Test helper functions ⠸ | 1 693 | Test helper functions ⠧ | 1 707 | Test helper functions ⠙ | 1 721 | Test helper functions ✔ | 1 739 | Test helper functions [5.2s] ⠏ | 0 | interaction_constraints ⠏ | 0 | interaction constraints ⠋ | 1 | interaction constraints ✔ | 1 | interaction constraints [6.6s] ⠏ | 0 | interactions ⠏ | 0 | Test prediction of feature interactions ⠋ | 1 | Test prediction of feature interactions [1] train-logloss:0.482541 [2] train-logloss:0.359536 [3] train-logloss:0.279935 [4] train-logloss:0.218599 ⠦ | 7 | Test prediction of feature interactions ✔ | 8 | Test prediction of feature interactions ⠏ | 0 | io ⠏ | 0 | Test model IO. [1] train-logloss:0.439409 [2] train-logloss:0.299260 [3] train-logloss:0.209937 [4] train-logloss:0.150151 [5] train-logloss:0.108673 [6] train-logloss:0.079348 [7] train-logloss:0.058385 [8] train-logloss:0.043147 ✔ | 2 | Test model IO. ⠏ | 0 | model_compatibility ⠏ | 0 | Models from previous versions of XGBoost can be loaded ⠋ | 1 0 | Models from previous versions of XGBoost can be loaded ✖ | 1 1 0 | Models from previous versions of XGBoost can be loaded ──────────────────────────────────────────────────────────────────────────────── Warning ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip': HTTP status was '403 Forbidden' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 Error ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded Error in `download.file(paste("https://", bucket, ".s3-", region, ".amazonaws.com/", file_name, sep = ""), destfile = zipfile, mode = "wb", quiet = TRUE)`: cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | parameter_exposure ⠏ | 0 | Test model params and call are exposed to R ⠋ | 1 | Test model params and call are exposed to R ✔ | 6 | Test model params and call are exposed to R ⠏ | 0 | ranking ⠏ | 0 | Learning to rank [1] train-auc:0.575000 train-aucpr:0.550000 [2] train-auc:0.650000 train-aucpr:0.700000 [3] train-auc:0.725000 train-aucpr:0.850000 [4] train-auc:0.800000 train-aucpr:1.000000 [5] train-auc:0.800000 train-aucpr:1.000000 [6] train-auc:0.800000 train-aucpr:1.000000 [7] train-auc:0.800000 train-aucpr:1.000000 [8] train-auc:0.800000 train-aucpr:1.000000 [9] train-auc:0.800000 train-aucpr:1.000000 [10] train-auc:0.800000 train-aucpr:1.000000 [1] train-auc:0.575000 train-aucpr:0.550000 [2] train-auc:0.650000 train-aucpr:0.700000 [3] train-auc:0.725000 train-aucpr:0.850000 [4] train-auc:0.725000 train-aucpr:0.850000 [5] train-auc:0.725000 train-aucpr:0.850000 [6] train-auc:0.725000 train-aucpr:0.850000 [7] train-auc:0.725000 train-aucpr:0.850000 [8] train-auc:0.800000 train-aucpr:1.000000 [9] train-auc:0.800000 train-aucpr:1.000000 [10] train-auc:0.800000 train-aucpr:1.000000 [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [08:20:26] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ✔ | 14 | Learning to rank ⠏ | 0 | unicode ⠏ | 0 | Test Unicode handling [1] train-error:0.046522 [2] train-error:0.022263 ✔ | 3 | Test Unicode handling ⠏ | 0 | update ⠏ | 0 | update trees in an existing model [08:20:26] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [08:20:26] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [08:20:26] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠋ | 1 | update trees in an existing model [08:20:26] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [08:20:26] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠦ | 7 | update trees in an existing model [08:20:27] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [08:20:27] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠴ | 16 | update trees in an existing model [08:20:27] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ✔ | 22 | update trees in an existing model ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 96.4 s ── Skipped tests (1) ─────────────────────────────────────────────────────────── • empty test (1): 'test_helpers.R:322:1' ── Failed tests ──────────────────────────────────────────────────────────────── Error ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded Error in `download.file(paste("https://", bucket, ".s3-", region, ".amazonaws.com/", file_name, sep = ""), destfile = zipfile, mode = "wb", quiet = TRUE)`: cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 [ FAIL 1 | WARN 3 | SKIP 1 | PASS 1068 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.7.11.1
Check: tests
Result: ERROR Running ‘testthat.R’ [161s/193s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(xgboost) > > test_check("xgboost", reporter = ProgressReporter) ✔ | F W S OK | Context ⠏ | 0 | basic ⠏ | 0 | basic functions ⠋ | 1 | basic functions [20:08:43] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠙ | 12 | basic functions [1] train-rmse:1.678965 [2] train-rmse:1.678965 [3] train-rmse:1.524624 [4] train-rmse:1.441523 [5] train-rmse:1.437758 [6] train-rmse:1.377895 [7] train-rmse:1.305894 [8] train-rmse:1.336120 [9] train-rmse:1.316072 [10] train-rmse:1.316031 [11] train-rmse:1.319404 [12] train-rmse:1.235097 [13] train-rmse:1.225430 [14] train-rmse:1.221079 [15] train-rmse:1.235220 [16] train-rmse:1.219153 [17] train-rmse:1.226439 [18] train-rmse:1.235026 [19] train-rmse:1.244651 [20] train-rmse:1.253197 [21] train-rmse:1.262494 [22] train-rmse:1.272865 [23] train-rmse:1.276073 [24] train-rmse:1.277040 [25] train-rmse:1.287974 [26] train-rmse:1.289816 [27] train-rmse:1.292365 [28] train-rmse:1.282785 [29] train-rmse:1.283805 [30] train-rmse:1.290661 [31] train-rmse:1.289439 [32] train-rmse:1.281995 [20:08:43] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [20:08:43] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠦ | 17 | basic functions [20:08:43] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠙ | 32 | basic functions [1] train-error:0.028405 [20:08:43] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠏ | 40 | basic functions [20:08:43] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠦ | 47 | basic functions ⠴ | 56 | basic functions [1] train-logloss:0.439409 [2] train-logloss:0.299260 [3] train-logloss:0.209937 [4] train-logloss:0.150151 ⠇ | 59 | basic functions ⠏ | 60 | basic functions ⠧ | 68 | basic functions [1] train-logloss:0.233470+0.001565 test-logloss:0.233607+0.004930 [2] train-logloss:0.136851+0.001767 test-logloss:0.137010+0.006645 [1] train-logloss:0.233482+0.001761 test-logloss:0.233527+0.005591 [2] train-logloss:0.136860+0.002158 test-logloss:0.136933+0.007299 ⠋ | 71 | basic functions ⠙ | 72 | basic functions ⠹ | 73 | basic functions ⠦ | 77 | basic functions [1] train-logloss:0.380598 [2] train-logloss:0.247331 [3] train-logloss:0.175047 [4] train-logloss:0.122301 [5] train-logloss:0.089889 [1] train-logloss:0.497338 [2] train-logloss:0.357306 [3] train-logloss:0.257215 [4] train-logloss:0.184518 [5] train-logloss:0.132113 ⠙ | 82 | basic functions [1] train-error:0.046522 train-auc:0.958228 train-logloss:0.233376 [2] train-error:0.022263 train-auc:0.981413 train-logloss:0.136658 ⠼ | 85 | basic functions [1] train-merror:0.040000 [2] train-merror:0.026667 [1] train-error:0.046522 train-auc:0.958228 train-logloss:0.482541 [2] train-error:0.046522 train-auc:0.987161 train-logloss:0.359536 ⠸ | 94 | basic functions ⠇ | 99 | basic functions ✔ | 100 | basic functions [10.0s] ⠏ | 0 | callbacks ⠏ | 0 | callbacks ⠋ | 1 | callbacks [1] train-auc:0.900000 test-auc:0.800000 ⠼ | 25 | callbacks ⠦ | 27 | callbacks ⠙ | 32 | callbacks ⠴ | 36 | callbacks ⠧ | 38 | callbacks ⠇ | 39 | callbacks ⠏ | 40 | callbacks ⠇ | 1 48 | callbacks ⠙ | 1 51 | callbacks ⠧ | 1 57 | callbacks ⠹ | 1 62 | callbacks [20:08:55] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [1] train-auc:0.829749 Will train until train_auc hasn't improved in 3 rounds. [2] train-auc:0.829749 [3] train-auc:0.829749 [4] train-auc:0.829749 Stopping. Best iteration: [1] train-auc:0.829749 ⠏ | 1 69 | callbacks ⠼ | 1 74 | callbacks ⠇ | 1 78 | callbacks ⠙ | 1 81 | callbacks ⠼ | 1 84 | callbacks ⠹ | 1 92 | callbacks ✔ | 1 95 | callbacks [4.5s] ──────────────────────────────────────────────────────────────────────────────── Warning ('test_callbacks.R:200:3'): cb.save.model works as expected one argument not used by format 'xgboost.json' Backtrace: ▆ 1. └─xgboost::xgb.train(...) at test_callbacks.R:200:3 2. └─xgboost (local) f() 3. ├─xgboost::xgb.save(env$bst, sprintf(save_name, env$iteration)) 4. └─base::sprintf(save_name, env$iteration) ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | config ⠏ | 0 | Test global configuration ✔ | 8 | Test global configuration ⠏ | 0 | custom_objective ⠏ | 0 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 ⠋ | 1 | Test models with custom objective ⠼ | 5 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 [3] eval-error:0.018001 train-error:0.015200 [4] eval-error:0.018001 train-error:0.015200 [5] eval-error:0.006207 train-error:0.007063 [6] eval-error:0.000000 train-error:0.001228 [7] eval-error:0.000000 train-error:0.001228 [8] eval-error:0.000000 train-error:0.001228 [9] eval-error:0.000000 train-error:0.001228 [10] eval-error:0.000000 train-error:0.000000 ⠧ | 8 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 ⠋ | 11 | Test models with custom objective ✔ | 12 | Test models with custom objective [1.3s] ⠏ | 0 | dmatrix ⠏ | 0 | testing xgb.DMatrix functionality ⠙ | 12 | testing xgb.DMatrix functionality [20:08:59] 6513x126 matrix with 143286 entries loaded from /home/hornik/tmp/scratch/RtmpOf6wtO/xgb.DMatrix_3b6bde5135b0c1 ⠋ | 21 | testing xgb.DMatrix functionality ⠋ | 1 30 | testing xgb.DMatrix functionality ⠦ | 1 36 | testing xgb.DMatrix functionality ⠇ | 1 38 | testing xgb.DMatrix functionality ✔ | 1 44 | testing xgb.DMatrix functionality ──────────────────────────────────────────────────────────────────────────────── Warning ('test_dmatrix.R:125:3'): xgb.DMatrix: getinfo & setinfo NAs introduced by coercion Backtrace: ▆ 1. ├─testthat::expect_error(setinfo(dtest, "weight", rep("a", nrow(test_data)))) at test_dmatrix.R:125:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─xgboost::setinfo(dtest, "weight", rep("a", nrow(test_data))) 7. └─xgboost:::setinfo.xgb.DMatrix(dtest, "weight", rep("a", nrow(test_data))) ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | gc_safety ⠏ | 0 | Garbage Collection Safety Check [1] train-logloss:0.233376 [2] train-logloss:0.136658 ⠋ | 1 | Garbage Collection Safety Check ✔ | 1 | Garbage Collection Safety Check [146.8s] ⠏ | 0 | glm ⠏ | 0 | Test generalized linear models ⠋ | 1 | Test generalized linear models ⠴ | 6 | Test generalized linear models ⠦ | 7 | Test generalized linear models ⠧ | 8 | Test generalized linear models [1] eval-error:0.002483 train-error:0.004760 Multiple eval metrics are present. Will use train_error for early stopping. Will train until train_error hasn't improved in 1 rounds. [2] eval-error:0.000621 train-error:0.002610 [3] eval-error:0.000000 train-error:0.001842 [4] eval-error:0.000000 train-error:0.001228 [5] eval-error:0.000000 train-error:0.000614 [6] eval-error:0.000000 train-error:0.000614 Stopping. Best iteration: [5] eval-error:0.000000 train-error:0.000614 ⠙ | 12 | Test generalized linear models [1] eval-error:0.002483 train-error:0.004760 Multiple eval metrics are present. Will use train_error for early stopping. Will train until train_error hasn't improved in 1 rounds. [2] eval-error:0.000621 train-error:0.002610 [3] eval-error:0.000000 train-error:0.001842 [4] eval-error:0.000000 train-error:0.001228 [5] eval-error:0.000000 train-error:0.000614 [6] eval-error:0.000000 train-error:0.000614 Stopping. Best iteration: [5] eval-error:0.000000 train-error:0.000614 ⠹ | 13 | Test generalized linear models ✔ | 13 | Test generalized linear models [2.0s] ⠏ | 0 | helpers ⠏ | 0 | Test helper functions ⠋ | 1 | Test helper functions [1] train-logloss:0.636592 ⠙ | 12 | Test helper functions ⠹ | 23 | Test helper functions ⠏ | 30 | Test helper functions [1] train-rmse:1.940066 [2] train-rmse:1.560864 [3] train-rmse:1.277414 [4] train-rmse:1.068562 [5] train-rmse:0.903897 [6] train-rmse:0.763228 [7] train-rmse:0.664924 [8] train-rmse:0.570358 [9] train-rmse:0.507416 [10] train-rmse:0.458599 [11] train-rmse:0.394349 [12] train-rmse:0.355794 [13] train-rmse:0.305484 [14] train-rmse:0.271176 [15] train-rmse:0.259943 [16] train-rmse:0.238429 [17] train-rmse:0.228003 [18] train-rmse:0.212117 [19] train-rmse:0.187830 [20] train-rmse:0.173381 [21] train-rmse:0.164001 [22] train-rmse:0.156113 [23] train-rmse:0.143242 [24] train-rmse:0.130215 [25] train-rmse:0.120160 [26] train-rmse:0.112119 [27] train-rmse:0.104753 [28] train-rmse:0.096786 [29] train-rmse:0.089361 [30] train-rmse:0.083706 ⠧ | 48 | Test helper functions ⠸ | 94 | Test helper functions ⠙ | 142 | Test helper functions ⠧ | 188 | Test helper functions ⠴ | 236 | Test helper functions [1] train-rmse:1.940066 [2] train-rmse:1.675038 [3] train-rmse:1.462383 [4] train-rmse:1.283198 [5] train-rmse:1.155542 [6] train-rmse:1.049559 [7] train-rmse:0.942910 [8] train-rmse:0.859371 [9] train-rmse:0.774970 [10] train-rmse:0.725452 [11] train-rmse:0.679127 [12] train-rmse:0.628614 [13] train-rmse:0.594549 [14] train-rmse:0.535545 [15] train-rmse:0.485623 [16] train-rmse:0.460187 [17] train-rmse:0.413632 [18] train-rmse:0.403692 [19] train-rmse:0.385314 [20] train-rmse:0.366653 [21] train-rmse:0.354532 [22] train-rmse:0.326526 [23] train-rmse:0.316875 [24] train-rmse:0.301910 [25] train-rmse:0.285458 [26] train-rmse:0.275437 [27] train-rmse:0.267556 [28] train-rmse:0.263727 [29] train-rmse:0.253460 [30] train-rmse:0.235433 ⠏ | 250 | Test helper functions ⠸ | 294 | Test helper functions ⠼ | 345 | Test helper functions ⠼ | 395 | Test helper functions ⠸ | 434 | Test helper functions ⠋ | 461 | Test helper functions ⠧ | 478 | Test helper functions ⠸ | 494 | Test helper functions ⠇ | 509 | Test helper functions ⠴ | 526 | Test helper functions ⠼ | 545 | Test helper functions ⠋ | 561 | Test helper functions ⠏ | 580 | Test helper functions ⠴ | 596 | Test helper functions ⠹ | 613 | Test helper functions ⠧ | 628 | Test helper functions ⠴ | 646 | Test helper functions ⠹ | 663 | Test helper functions ⠏ | 670 | Test helper functions ⠴ | 676 | Test helper functions ⠙ | 682 | Test helper functions ⠹ | 683 | Test helper functions ⠏ | 690 | Test helper functions ⠋ | 691 | Test helper functions ⠙ | 1 691 | Test helper functions ⠹ | 1 692 | Test helper functions ⠸ | 1 693 | Test helper functions ⠙ | 1 701 | Test helper functions ⠧ | 1 707 | Test helper functions ⠏ | 1 709 | Test helper functions ✔ | 1 739 | Test helper functions [8.9s] ⠏ | 0 | interaction_constraints ⠏ | 0 | interaction constraints ⠋ | 1 | interaction constraints ✔ | 1 | interaction constraints [10.6s] ⠏ | 0 | interactions ⠏ | 0 | Test prediction of feature interactions ⠙ | 2 | Test prediction of feature interactions [1] train-logloss:0.482541 [2] train-logloss:0.359536 [3] train-logloss:0.279935 [4] train-logloss:0.218599 ⠦ | 7 | Test prediction of feature interactions ⠧ | 8 | Test prediction of feature interactions ✔ | 8 | Test prediction of feature interactions ⠏ | 0 | io ⠏ | 0 | Test model IO. [1] train-logloss:0.439409 [2] train-logloss:0.299260 [3] train-logloss:0.209937 [4] train-logloss:0.150151 [5] train-logloss:0.108673 [6] train-logloss:0.079348 [7] train-logloss:0.058385 [8] train-logloss:0.043147 ⠋ | 1 | Test model IO. ✔ | 2 | Test model IO. ⠏ | 0 | model_compatibility ⠏ | 0 | Models from previous versions of XGBoost can be loaded ⠋ | 1 0 | Models from previous versions of XGBoost can be loaded ✖ | 1 1 0 | Models from previous versions of XGBoost can be loaded ──────────────────────────────────────────────────────────────────────────────── Warning ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip': HTTP status was '403 Forbidden' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 Error ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded Error in `download.file(paste("https://", bucket, ".s3-", region, ".amazonaws.com/", file_name, sep = ""), destfile = zipfile, mode = "wb", quiet = TRUE)`: cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | parameter_exposure ⠏ | 0 | Test model params and call are exposed to R ⠋ | 1 | Test model params and call are exposed to R ✔ | 6 | Test model params and call are exposed to R ⠏ | 0 | ranking ⠏ | 0 | Learning to rank [1] train-auc:0.575000 train-aucpr:0.550000 [2] train-auc:0.650000 train-aucpr:0.700000 [3] train-auc:0.725000 train-aucpr:0.850000 [4] train-auc:0.800000 train-aucpr:1.000000 [5] train-auc:0.800000 train-aucpr:1.000000 [6] train-auc:0.800000 train-aucpr:1.000000 [7] train-auc:0.800000 train-aucpr:1.000000 [8] train-auc:0.800000 train-aucpr:1.000000 [9] train-auc:0.800000 train-aucpr:1.000000 [10] train-auc:0.800000 train-aucpr:1.000000 ⠋ | 1 | Learning to rank [1] train-auc:0.575000 train-aucpr:0.550000 [2] train-auc:0.650000 train-aucpr:0.700000 [3] train-auc:0.725000 train-aucpr:0.850000 [4] train-auc:0.725000 train-aucpr:0.850000 [5] train-auc:0.725000 train-aucpr:0.850000 [6] train-auc:0.725000 train-aucpr:0.850000 [7] train-auc:0.725000 train-aucpr:0.850000 [8] train-auc:0.800000 train-aucpr:1.000000 [9] train-auc:0.800000 train-aucpr:1.000000 [10] train-auc:0.800000 train-aucpr:1.000000 [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠦ | 7 | Learning to rank [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [20:11:50] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠸ | 14 | Learning to rank ✔ | 14 | Learning to rank ⠏ | 0 | unicode ⠏ | 0 | Test Unicode handling [1] train-error:0.046522 [2] train-error:0.022263 ⠙ | 2 | Test Unicode handling ✔ | 3 | Test Unicode handling ⠏ | 0 | update ⠏ | 0 | update trees in an existing model [20:11:51] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [20:11:51] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [20:11:51] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠋ | 1 | update trees in an existing model [20:11:51] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [20:11:51] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠦ | 7 | update trees in an existing model [20:11:51] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠇ | 9 | update trees in an existing model [20:11:51] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [20:11:51] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠇ | 19 | update trees in an existing model ✔ | 22 | update trees in an existing model ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 189.3 s ── Skipped tests (1) ─────────────────────────────────────────────────────────── • empty test (1): 'test_helpers.R:322:1' ── Failed tests ──────────────────────────────────────────────────────────────── Error ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded Error in `download.file(paste("https://", bucket, ".s3-", region, ".amazonaws.com/", file_name, sep = ""), destfile = zipfile, mode = "wb", quiet = TRUE)`: cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 [ FAIL 1 | WARN 3 | SKIP 1 | PASS 1068 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

Version: 1.7.11.1
Check: tests
Result: ERROR Running 'testthat.R' [94s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(xgboost) > > test_check("xgboost", reporter = ProgressReporter) ✔ | F W S OK | Context ⠏ | 0 | basic ⠏ | 0 | basic functions ⠹ | 3 | basic functions [13:39:03] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [1] train-rmse:1.678965 [2] train-rmse:1.678965 [3] train-rmse:1.524624 [4] train-rmse:1.441523 [5] train-rmse:1.437758 [6] train-rmse:1.377895 [7] train-rmse:1.305894 [8] train-rmse:1.336120 [9] train-rmse:1.316072 [10] train-rmse:1.316031 [11] train-rmse:1.319404 [12] train-rmse:1.235097 [13] train-rmse:1.225430 [14] train-rmse:1.221079 [15] train-rmse:1.235220 [16] train-rmse:1.219153 [17] train-rmse:1.226439 [18] train-rmse:1.235026 [19] train-rmse:1.244651 [20] train-rmse:1.253197 [21] train-rmse:1.262494 [22] train-rmse:1.272865 [23] train-rmse:1.276073 [24] train-rmse:1.277040 [25] train-rmse:1.287974 [26] train-rmse:1.289816 [27] train-rmse:1.292365 [28] train-rmse:1.282785 [29] train-rmse:1.283805 [30] train-rmse:1.290661 [31] train-rmse:1.289439 [32] train-rmse:1.281995 [13:39:03] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠸ | 14 | basic functions [13:39:03] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:39:03] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠇ | 29 | basic functions [1] train-error:0.028405 ⠦ | 37 | basic functions [13:39:03] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:39:03] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠦ | 47 | basic functions ⠋ | 51 | basic functions [1] train-logloss:0.439409 [2] train-logloss:0.299260 [3] train-logloss:0.209937 [4] train-logloss:0.150151 ⠇ | 59 | basic functions ⠏ | 60 | basic functions [1] train-logloss:0.233470+0.001565 test-logloss:0.233607+0.004930 [2] train-logloss:0.136851+0.001767 test-logloss:0.137010+0.006645 [1] train-logloss:0.233482+0.001761 test-logloss:0.233527+0.005591 [2] train-logloss:0.136860+0.002158 test-logloss:0.136933+0.007299 ⠋ | 71 | basic functions ⠙ | 72 | basic functions ⠹ | 73 | basic functions ⠦ | 77 | basic functions [1] train-logloss:0.380598 [2] train-logloss:0.247331 [3] train-logloss:0.175047 [4] train-logloss:0.122301 [5] train-logloss:0.089889 [1] train-logloss:0.497338 [2] train-logloss:0.357306 [3] train-logloss:0.257215 [4] train-logloss:0.184518 [5] train-logloss:0.132113 ⠙ | 82 | basic functions ⠸ | 84 | basic functions [1] train-error:0.046522 train-auc:0.958228 train-logloss:0.233376 [2] train-error:0.022263 train-auc:0.981413 train-logloss:0.136658 [1] train-merror:0.040000 [2] train-merror:0.026667 [1] train-error:0.046522 train-auc:0.958228 train-logloss:0.482541 [2] train-error:0.046522 train-auc:0.987161 train-logloss:0.359536 ⠸ | 94 | basic functions ⠇ | 99 | basic functions ✔ | 100 | basic functions [7.6s] ⠏ | 0 | callbacks ⠏ | 0 | callbacks [1] train-auc:0.900000 test-auc:0.800000 ⠇ | 9 | callbacks ⠴ | 26 | callbacks ⠼ | 35 | callbacks ⠏ | 40 | callbacks ⠙ | 1 51 | callbacks ⠹ | 1 62 | callbacks [13:39:11] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [1] train-auc:0.829749 Will train until train_auc hasn't improved in 3 rounds. [2] train-auc:0.829749 [3] train-auc:0.829749 [4] train-auc:0.829749 Stopping. Best iteration: [1] train-auc:0.829749 ⠏ | 1 69 | callbacks ⠼ | 1 74 | callbacks ⠇ | 1 78 | callbacks ⠼ | 1 84 | callbacks ✔ | 1 95 | callbacks [2.1s] ──────────────────────────────────────────────────────────────────────────────── Warning ('test_callbacks.R:200:3'): cb.save.model works as expected one argument not used by format 'xgboost.json' Backtrace: ▆ 1. └─xgboost::xgb.train(...) at test_callbacks.R:200:3 2. └─xgboost (local) f() 3. ├─xgboost::xgb.save(env$bst, sprintf(save_name, env$iteration)) 4. └─base::sprintf(save_name, env$iteration) ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | config ⠏ | 0 | Test global configuration ✔ | 8 | Test global configuration ⠏ | 0 | custom_objective ⠏ | 0 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 ⠼ | 5 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 [3] eval-error:0.018001 train-error:0.015200 [4] eval-error:0.018001 train-error:0.015200 [5] eval-error:0.006207 train-error:0.007063 [6] eval-error:0.000000 train-error:0.001228 [7] eval-error:0.000000 train-error:0.001228 [8] eval-error:0.000000 train-error:0.001228 [9] eval-error:0.000000 train-error:0.001228 [10] eval-error:0.000000 train-error:0.000000 ⠧ | 8 | Test models with custom objective [1] eval-error:0.042831 train-error:0.046522 [2] eval-error:0.021726 train-error:0.022263 ✔ | 12 | Test models with custom objective ⠏ | 0 | dmatrix ⠏ | 0 | testing xgb.DMatrix functionality [13:39:13] 6513x126 matrix with 143286 entries loaded from D:\temp\2025_07_12_01_50_01_24483\RtmpOIRFVy\xgb.DMatrix_b7c863a64703 ⠴ | 16 | testing xgb.DMatrix functionality ⠦ | 1 36 | testing xgb.DMatrix functionality ⠇ | 1 38 | testing xgb.DMatrix functionality ✔ | 1 44 | testing xgb.DMatrix functionality ──────────────────────────────────────────────────────────────────────────────── Warning ('test_dmatrix.R:125:3'): xgb.DMatrix: getinfo & setinfo NAs introduced by coercion Backtrace: ▆ 1. ├─testthat::expect_error(setinfo(dtest, "weight", rep("a", nrow(test_data)))) at test_dmatrix.R:125:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─xgboost::setinfo(dtest, "weight", rep("a", nrow(test_data))) 7. └─xgboost:::setinfo.xgb.DMatrix(dtest, "weight", rep("a", nrow(test_data))) ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | gc_safety ⠏ | 0 | Garbage Collection Safety Check [1] train-logloss:0.233376 [2] train-logloss:0.136658 ⠋ | 1 | Garbage Collection Safety Check ✔ | 1 | Garbage Collection Safety Check [64.8s] ⠏ | 0 | glm ⠏ | 0 | Test generalized linear models ⠸ | 4 | Test generalized linear models ⠦ | 7 | Test generalized linear models ⠧ | 8 | Test generalized linear models [1] eval-error:0.002483 train-error:0.004760 Multiple eval metrics are present. Will use train_error for early stopping. Will train until train_error hasn't improved in 1 rounds. [2] eval-error:0.000621 train-error:0.002610 [3] eval-error:0.000000 train-error:0.001842 [4] eval-error:0.000000 train-error:0.001228 [5] eval-error:0.000000 train-error:0.000614 [6] eval-error:0.000000 train-error:0.000614 Stopping. Best iteration: [5] eval-error:0.000000 train-error:0.000614 ⠙ | 12 | Test generalized linear models [1] eval-error:0.002483 train-error:0.004760 Multiple eval metrics are present. Will use train_error for early stopping. Will train until train_error hasn't improved in 1 rounds. [2] eval-error:0.000621 train-error:0.002610 [3] eval-error:0.000000 train-error:0.001842 [4] eval-error:0.000000 train-error:0.001228 [5] eval-error:0.000000 train-error:0.000614 [6] eval-error:0.000000 train-error:0.000614 Stopping. Best iteration: [5] eval-error:0.000000 train-error:0.000614 ✔ | 13 | Test generalized linear models ⠏ | 0 | helpers ⠏ | 0 | Test helper functions ⠋ | 1 | Test helper functions [1] train-logloss:0.636592 ⠋ | 21 | Test helper functions [1] train-rmse:1.940066 [2] train-rmse:1.560864 [3] train-rmse:1.277414 [4] train-rmse:1.068562 [5] train-rmse:0.903897 [6] train-rmse:0.763228 [7] train-rmse:0.664924 [8] train-rmse:0.570358 [9] train-rmse:0.507416 [10] train-rmse:0.458599 [11] train-rmse:0.394349 [12] train-rmse:0.355794 [13] train-rmse:0.305484 [14] train-rmse:0.271176 [15] train-rmse:0.259943 [16] train-rmse:0.238429 [17] train-rmse:0.228003 [18] train-rmse:0.212117 [19] train-rmse:0.187830 [20] train-rmse:0.173381 [21] train-rmse:0.164001 [22] train-rmse:0.156113 [23] train-rmse:0.143242 [24] train-rmse:0.130215 [25] train-rmse:0.120160 [26] train-rmse:0.112119 [27] train-rmse:0.104753 [28] train-rmse:0.096786 [29] train-rmse:0.089361 [30] train-rmse:0.083706 ⠧ | 48 | Test helper functions ⠏ | 110 | Test helper functions ⠧ | 168 | Test helper functions ⠇ | 219 | Test helper functions [1] train-rmse:1.940066 [2] train-rmse:1.675038 [3] train-rmse:1.462383 [4] train-rmse:1.283198 [5] train-rmse:1.155542 [6] train-rmse:1.049559 [7] train-rmse:0.942910 [8] train-rmse:0.859371 [9] train-rmse:0.774970 [10] train-rmse:0.725452 [11] train-rmse:0.679127 [12] train-rmse:0.628614 [13] train-rmse:0.594549 [14] train-rmse:0.535545 [15] train-rmse:0.485623 [16] train-rmse:0.460187 [17] train-rmse:0.413632 [18] train-rmse:0.403692 [19] train-rmse:0.385314 [20] train-rmse:0.366653 [21] train-rmse:0.354532 [22] train-rmse:0.326526 [23] train-rmse:0.316875 [24] train-rmse:0.301910 [25] train-rmse:0.285458 [26] train-rmse:0.275437 [27] train-rmse:0.267556 [28] train-rmse:0.263727 [29] train-rmse:0.253460 [30] train-rmse:0.235433 ⠏ | 250 | Test helper functions ⠇ | 339 | Test helper functions ⠙ | 402 | Test helper functions ⠹ | 453 | Test helper functions ⠋ | 481 | Test helper functions ⠋ | 521 | Test helper functions ⠸ | 564 | Test helper functions ⠙ | 602 | Test helper functions ⠹ | 643 | Test helper functions ⠏ | 670 | Test helper functions ⠏ | 680 | Test helper functions ⠹ | 683 | Test helper functions ⠏ | 690 | Test helper functions ⠋ | 691 | Test helper functions ⠙ | 1 691 | Test helper functions ⠹ | 1 692 | Test helper functions ⠸ | 1 693 | Test helper functions ⠧ | 1 707 | Test helper functions ⠋ | 1 710 | Test helper functions ✔ | 1 739 | Test helper functions [5.4s] ⠏ | 0 | interaction_constraints ⠏ | 0 | interaction constraints ⠋ | 1 | interaction constraints ✔ | 1 | interaction constraints [6.0s] ⠏ | 0 | interactions ⠏ | 0 | Test prediction of feature interactions ⠸ | 4 | Test prediction of feature interactions [1] train-logloss:0.482541 [2] train-logloss:0.359536 [3] train-logloss:0.279935 [4] train-logloss:0.218599 ✔ | 8 | Test prediction of feature interactions ⠏ | 0 | io ⠏ | 0 | Test model IO. [1] train-logloss:0.439409 [2] train-logloss:0.299260 [3] train-logloss:0.209937 [4] train-logloss:0.150151 [5] train-logloss:0.108673 [6] train-logloss:0.079348 [7] train-logloss:0.058385 [8] train-logloss:0.043147 ⠋ | 1 | Test model IO. ✔ | 2 | Test model IO. ⠏ | 0 | model_compatibility ⠏ | 0 | Models from previous versions of XGBoost can be loaded ⠋ | 1 0 | Models from previous versions of XGBoost can be loaded ✖ | 1 1 0 | Models from previous versions of XGBoost can be loaded ──────────────────────────────────────────────────────────────────────────────── Warning ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip': HTTP status was '403 Forbidden' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 Error ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded Error in `download.file(paste("https://", bucket, ".s3-", region, ".amazonaws.com/", file_name, sep = ""), destfile = zipfile, mode = "wb", quiet = TRUE)`: cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 ──────────────────────────────────────────────────────────────────────────────── ⠏ | 0 | parameter_exposure ⠏ | 0 | Test model params and call are exposed to R ⠋ | 1 | Test model params and call are exposed to R ✔ | 6 | Test model params and call are exposed to R ⠏ | 0 | ranking ⠏ | 0 | Learning to rank [1] train-auc:0.575000 train-aucpr:0.550000 [2] train-auc:0.650000 train-aucpr:0.700000 [3] train-auc:0.725000 train-aucpr:0.850000 [4] train-auc:0.800000 train-aucpr:1.000000 [5] train-auc:0.800000 train-aucpr:1.000000 [6] train-auc:0.800000 train-aucpr:1.000000 [7] train-auc:0.800000 train-aucpr:1.000000 [8] train-auc:0.800000 train-aucpr:1.000000 [9] train-auc:0.800000 train-aucpr:1.000000 [10] train-auc:0.800000 train-aucpr:1.000000 [1] train-auc:0.575000 train-aucpr:0.550000 [2] train-auc:0.650000 train-aucpr:0.700000 [3] train-auc:0.725000 train-aucpr:0.850000 [4] train-auc:0.725000 train-aucpr:0.850000 [5] train-auc:0.725000 train-aucpr:0.850000 [6] train-auc:0.725000 train-aucpr:0.850000 [7] train-auc:0.725000 train-aucpr:0.850000 [8] train-auc:0.800000 train-aucpr:1.000000 [9] train-auc:0.800000 train-aucpr:1.000000 [10] train-auc:0.800000 train-aucpr:1.000000 [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ⠇ | 9 | Learning to rank [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. [13:40:32] WARNING: src/c_api/c_api.cc:935: `ntree_limit` is deprecated, use `iteration_range` instead. ✔ | 14 | Learning to rank ⠏ | 0 | unicode ⠏ | 0 | Test Unicode handling [1] train-error:0.046522 [2] train-error:0.022263 ⠹ | 3 | Test Unicode handling ✔ | 3 | Test Unicode handling ⠏ | 0 | update ⠏ | 0 | update trees in an existing model [13:40:32] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [13:40:33] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [13:40:33] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠋ | 1 | update trees in an existing model [13:40:33] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠹ | 3 | update trees in an existing model [13:40:33] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [13:40:33] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠇ | 9 | update trees in an existing model [13:40:33] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. [13:40:33] WARNING: src/gbm/gbtree.cc:84: DANGER AHEAD: You have manually specified `updater` parameter. The `tree_method` parameter will be ignored. Incorrect sequence of updaters will produce undefined behavior. For common uses, we recommend using `tree_method` parameter instead. ⠇ | 19 | update trees in an existing model ✔ | 22 | update trees in an existing model [1.0s] ══ Results ═════════════════════════════════════════════════════════════════════ Duration: 91.0 s ── Skipped tests (1) ─────────────────────────────────────────────────────────── • empty test (1): 'test_helpers.R:322:1' ── Failed tests ──────────────────────────────────────────────────────────────── Error ('test_model_compatibility.R:67:3'): Models from previous versions of XGBoost can be loaded Error in `download.file(paste("https://", bucket, ".s3-", region, ".amazonaws.com/", file_name, sep = ""), destfile = zipfile, mode = "wb", quiet = TRUE)`: cannot open URL 'https://xgboost-ci-jenkins-artifacts.s3-us-west-2.amazonaws.com/xgboost_r_model_compatibility_test.zip' Backtrace: ▆ 1. └─utils::download.file(...) at test_model_compatibility.R:67:3 [ FAIL 1 | WARN 3 | SKIP 1 | PASS 1068 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64

Version: 1.7.11.1
Check: installed package size
Result: NOTE installed size is 54.1Mb sub-directories of 1Mb or more: libs 53.2Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 1.7.11.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