Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(DriveML)
  > 
  > test_check("DriveML")
  
    |                                                                            
    |                                                                      |   0%
    |                                                                            
    |===================================                                   |  50%
    |                                                                            
    |======================================================================| 100%
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_automodel.R:10:3): test output object ───────────────────────────
  Error: there is no package called 'XML'
  Backtrace:
       █
    1. ├─DriveML::autoMLmodel(...) test_automodel.R:10:2
    2. │ ├─base::suppressWarnings(generateLearners(task = auoTasks$fullTask))
    3. │ │ └─base::withCallingHandlers(...)
    4. │ └─DriveML:::generateLearners(task = auoTasks$fullTask)
    5. │   └─mlr::makeLearners(...)
    6. │     └─base::mapply(...)
    7. │       └─(function (cl, id = cl, predict.type = "response", predict.threshold = NULL, ...
    8. │         ├─base::do.call(constructor, list())
    9. │         └─(function () ...
   10. │           └─mlr::makeRLearnerClassif(...)
   11. │             ├─BBmisc::addClasses(...)
   12. │             └─mlr:::makeRLearnerInternal(...)
   13. │               └─mlr:::makeParamHelpList(callees, package, par.set)
   14. └─base::loadNamespace(x)
   15.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   16.     └─base:::withOneRestart(expr, restarts[[1L]])
   17.       └─base:::doWithOneRestart(return(expr), restart)
  ── Error (test_pdp.R:3:1): (code run outside of `test_that()`) ─────────────────
  Error: there is no package called 'XML'
  Backtrace:
       █
    1. ├─DriveML::autoMLmodel(...) test_pdp.R:3:0
    2. │ ├─base::suppressWarnings(generateLearners(task = auoTasks$fullTask))
    3. │ │ └─base::withCallingHandlers(...)
    4. │ └─DriveML:::generateLearners(task = auoTasks$fullTask)
    5. │   └─mlr::makeLearners(...)
    6. │     └─base::mapply(...)
    7. │       └─(function (cl, id = cl, predict.type = "response", predict.threshold = NULL, ...
    8. │         ├─base::do.call(constructor, list())
    9. │         └─(function () ...
   10. │           └─mlr::makeRLearnerClassif(...)
   11. │             ├─BBmisc::addClasses(...)
   12. │             └─mlr:::makeRLearnerInternal(...)
   13. │               └─mlr:::makeParamHelpList(callees, package, par.set)
   14. └─base::loadNamespace(x)
   15.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   16.     └─base:::withOneRestart(expr, restarts[[1L]])
   17.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 19 ]
  Error: Test failures
  Execution halted