Running ‘run-core.R’ [0s/1s]
  Running ‘run-cpo.R’ [29s/43s]
  Running ‘run-meta.R’ [7s/12s]
  Running ‘run-zzzlint.R’ [4s/7s]
Running the tests in ‘tests/run-cpo.R’ failed.
Complete output:
  > library(testthat)
  > ISTESTING = TRUE  # nolint
  > test_check("mlrCPO", filter = "^_cpo_")
  Loading required package: mlrCPO
  Loading required package: ParamHelpers
  Loading required package: mlr
  'mlr' is in maintenance mode since July 2019. Future development
  efforts will go into its successor 'mlr3' (<https://mlr3.mlr-org.com>).
  
  Attaching package: 'BBmisc'
  
  The following object is masked from 'package:base':
  
      isFALSE
  
  
  Attaching package: 'rex'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  ── 1. Failure: CPO Impute data frame (@test_cpo_impute.R#73)  ──────────────────
  `data %>>% cpoImpute(target.cols = target, cols = list(x = imputeLearner("classif.naiveBayes")))` threw an error with unexpected message.
  Expected match: "Assertion on 'x' failed"
  Actual message: "Unsupported feature type (character) in column 'f'."
  Backtrace:
    1. mlrCPO::`internal%>>%`(...)
    2. mlrCPO:::`%>>%.data.frame`(...)
    3. mlrCPO:::`%>>%.Task`(cpo1, cpo2)
    5. mlrCPO:::applyCPO.CPO(cpo2, cpo1)
    7. mlrCPO:::callCPO.CPOPrimitive(...)
   10. mlrCPO:::cpo.trafo(...)
   12. mlr:::impute.data.frame(data, target.cols, ...)
   13. base::Map(...)
   14. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   18. mlr:::constructor(...)
   19. mlr:::makeSupervisedTask(...)
   20. mlr:::checkTaskData(...)
   21. base::Map(fun, cn = cols, x = data[cols])
   22. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   24. BBmisc::stopf(...)
  
  ── 2. Error: CPO Impute data frame  ────────────────────────────────────────────
  Type of column f mismatches between training and test data.
  Backtrace:
   1. mlrCPO::`internal%>>%`(...)
   2. mlrCPO:::`%>>%.data.frame`(...)
   3. mlrCPO:::`%>>%.Task`(cpo1, cpo2)
   5. mlrCPO:::applyCPO.CPORetrafo(cpo2, cpo1)
   6. mlrCPO:::callCPORetrafoElement(cpo$element, task, TRUE, prev.inverter)
   7. mlrCPO:::prepareRetrafoInput(...)
   8. mlrCPO:::assertShapeConform(...)
   9. BBmisc::stopf(...)
  
  ── 3. Error: CPO Impute and reimpute task (@test_cpo_impute.R#159)  ────────────
  Unsupported feature type (character) in column 'f'.
  Backtrace:
   1. mlr::makeClassifTask(data = data, target = "z")
   2. mlr:::makeSupervisedTask(...)
   3. mlr:::checkTaskData(...)
   4. base::Map(fun, cn = cols, x = data[cols])
   5. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
   7. BBmisc::stopf(...)
  
  ── 4. Error: cpoRegrResiduals with crr.train.residuals 'resample'  ─────────────
  dim(X) must have a positive length
  Backtrace:
    1. mlrCPO::`internal%>>%`(...)
    2. mlrCPO:::`%>>%.Task`(...)
    4. mlrCPO:::applyCPO.CPO(cpo2, cpo1)
    6. mlrCPO:::callCPO.CPOPrimitive(...)
    9. mlrCPO:::cpo.trafo(data = data, target = target, ...)
   10. base::apply(pmat, 1, mean, na.rm = TRUE)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 401 | SKIPPED: 1 | WARNINGS: 0 | FAILED: 4 ]
  1. Failure: CPO Impute data frame (@test_cpo_impute.R#73) 
  2. Error: CPO Impute data frame 
  3. Error: CPO Impute and reimpute task (@test_cpo_impute.R#159) 
  4. Error: cpoRegrResiduals with crr.train.residuals 'resample' 
  
  Error: testthat unit tests failed
  Execution halted