Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(tuneRanger)
  Loading required package: ranger
  Loading required package: mlrMBO
  Loading required package: mlr
  Loading required package: ParamHelpers
  Warning message: 'mlr' is in 'maintenance-only' mode since July 2019.
  Future development will only happen in 'mlr3'
  (<https://mlr3.mlr-org.com>). Due to the focus on 'mlr3' there might be
  uncaught bugs meanwhile in {mlr} - please consider switching.
  Loading required package: smoof
  Loading required package: checkmate
  Loading required package: parallel
  Loading required package: lubridate
  
  Attaching package: 'lubridate'
  
  The following objects are masked from 'package:base':
  
      date, intersect, setdiff, union
  
  Loading required package: lhs
  > 
  > test_check("tuneRanger")
  mtry = 2  OOB error = 0.03784871 
  Searching left ...
  mtry = 1 	OOB error = 0.03250999 
  0.1410542 0.05 
  Searching right ...
  mtry = 4 	OOB error = 0.03326367 
  -0.023183 0.05 
  mtry = 3  OOB error = 12.54625 
  Searching left ...
  mtry = 2 	OOB error = 13.34949 
  -0.06402255 0.05 
  Searching right ...
  mtry = 6 	OOB error = 11.08588 
  0.1163986 0.05 
  mtry = 12 	OOB error = 10.56749 
  0.04676161 0.05 
  mtry = 3  OOB error = 0.4251231 
  Searching left ...
  mtry = 2 	OOB error = 0.4314654 
  -0.01491873 0.05 
  Searching right ...
  mtry = 6 	OOB error = 0.4221886 
  0.006902694 0.05 
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_base.R:15:3): classification ranger ─────────────────────────────
  Error: there is no package called 'XML'
  Backtrace:
       █
    1. ├─tuneRanger::estimateTimeTuneRanger(...) test_base.R:15:2
    2. │ └─mlr::makeLearner(...)
    3. │   ├─base::do.call(constructor, list())
    4. │   └─(function () ...
    5. │     └─mlr::makeRLearnerClassif(...)
    6. │       ├─BBmisc::addClasses(...)
    7. │       └─mlr:::makeRLearnerInternal(...)
    8. │         └─mlr:::makeParamHelpList(callees, package, par.set)
    9. └─base::loadNamespace(x)
   10.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   11.     └─base:::withOneRestart(expr, restarts[[1L]])
   12.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ]
  Error: Test failures
  Execution halted