Running ‘testthat.R’ [15s/18s]
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: For learner classif.xgboost please install the following packages: xgboost
  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.                 └─BBmisc::requirePackages(...)
   14.                   └─BBmisc::stopf(...)
  ── Error (test_pdp.R:3:1): (code run outside of `test_that()`) ─────────────────
  Error: For learner classif.xgboost please install the following packages: xgboost
  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.                 └─BBmisc::requirePackages(...)
   14.                   └─BBmisc::stopf(...)
  
  [ FAIL 2 | WARN 0 | SKIP 1 | PASS 19 ]
  Error: Test failures
  Execution halted