Running ‘testthat.R’ [71s/73s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(xgboost)
  > 
  > test_check("xgboost")
  [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.277041 
  [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 
  [1]	train-error:0.027944 
  [1]	train-error:0.000614 
  [2]	train-error:0.001228 
  [3]	train-error:0.000614 
  [4]	train-error:0.000614 
  [1]	train-error:0.046522+0.000800	test-error:0.046524+0.003197 
  [2]	train-error:0.022263+0.000612	test-error:0.022265+0.002444 
  [1]	train-error:0.046522+0.000814	test-error:0.046523+0.003254 
  [2]	train-error:0.022263+0.000797	test-error:0.022264+0.003190 
  [1]	train-logloss:0.380601 
  [2]	train-logloss:0.247327 
  [3]	train-logloss:0.175046 
  [4]	train-logloss:0.122303 
  [5]	train-logloss:0.089890 
  [1]	train-logloss:0.497351 
  [2]	train-logloss:0.357289 
  [3]	train-logloss:0.257217 
  [4]	train-logloss:0.184524 
  [5]	train-logloss:0.132112 
  [1]	train-error:0.046522	train-auc:0.958228	train-logloss:0.233366 
  [2]	train-error:0.022263	train-auc:0.981413	train-logloss:0.136656 
  [1]	train-auc:0.900000	test-auc:0.800000 
  [1]	eval-error:0.042831	train-error:0.046522 
  [2]	eval-error:0.021726	train-error:0.022263 
  [1]	eval-error:0.042831	train-error:0.046522 
  [2]	eval-error:0.021726	train-error:0.022263 
  [1]	train-error:0.046522 
  [2]	train-error:0.022263 
  [1]	train-error:0.333333 
  [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 
  [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.366654 
  [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 
  ── 1. Error: xgb.plot.tree works with and without feature names (@test_helpers.R
  DiagrammeR package is required for xgb.plot.tree
  Backtrace:
   1. xgboost::xgb.plot.tree(feature_names = feature.names, model = bst.Tree)
  
  ── 2. Error: xgb.plot.multi.trees works with and without feature names (@test_he
  there is no package called 'DiagrammeR'
  Backtrace:
   1. xgboost::xgb.plot.multi.trees(...)
   2. DiagrammeR::create_node_df
   3. base::getExportedValue(pkg, name)
   4. base::asNamespace(ns)
   5. base::getNamespace(ns)
   6. base::loadNamespace(name)
   7. base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   8. base:::withOneRestart(expr, restarts[[1L]])
   9. base:::doWithOneRestart(return(expr), restart)
  
  [10:40:10] WARNING: amalgamation/../src/gbm/gbtree.cc:73: 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.
  [10:40:10] WARNING: amalgamation/../src/gbm/gbtree.cc:73: 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.
  [10:40:10] WARNING: amalgamation/../src/gbm/gbtree.cc:73: 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.
  [10:40:10] WARNING: amalgamation/../src/gbm/gbtree.cc:73: 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.
  [10:40:11] WARNING: amalgamation/../src/gbm/gbtree.cc:73: 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.
  [10:40:11] WARNING: amalgamation/../src/gbm/gbtree.cc:73: 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.
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 987 | SKIPPED: 2 | WARNINGS: 0 | FAILED: 2 ]
  1. Error: xgb.plot.tree works with and without feature names (@test_helpers.R#338) 
  2. Error: xgb.plot.multi.trees works with and without feature names (@test_helpers.R#343) 
  
  Error: testthat unit tests failed
  Execution halted