Running ‘testthat.R’ [100s/101s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(checkmate) # for more expect_*() functions
  > library(mlr3proba)
  > 
  > test_check("mlr3proba")
  ── 1. Error: Internally constructed Prediction (@test_PredictionSurv.R#12)  ────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. lrn$train(task)$predict(task)
    2. mlr3:::learner_predict(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(task = <environment>, learner = <environment>)
    9. learner$.__enclos_env__$private$.predict(task)
   10. distr6::VectorDistribution$new(...)
   11. .subset2(public_bind_env, "initialize")(...)
   14. distr6::decorate(self, decorators)
   15. base::lapply(...)
   16. distr6:::FUN(X[[i]], ...)
   17. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 2. Error: c (@test_PredictionSurv.R#20)  ────────────────────────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. mlr3::resample(task, lrn, resampling)
    2. base::lapply(...)
    3. mlr3:::FUN(X[[i]], ...)
    4. base::Map(...)
    5. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    7. mlr3:::learner_predict(learner, task, row_ids)
    8. mlr3misc::encapsulate(...)
   13. mlr3:::.f(task = <environment>, learner = <environment>)
   14. learner$.__enclos_env__$private$.predict(task)
   15. distr6::VectorDistribution$new(...)
   16. .subset2(public_bind_env, "initialize")(...)
   19. distr6::decorate(self, decorators)
   20. base::lapply(...)
   21. distr6:::FUN(X[[i]], ...)
   22. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 3. Error: benchmark works (@test_benchmark.R#6)  ────────────────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. base::suppressWarnings(...)
    3. mlr3::benchmark(benchmark_grid(task, learners, rsmp("cv", folds = 3)))
    4. base::mapply(...)
    6. base::Map(...)
    7. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    9. mlr3:::learner_predict(learner, task, row_ids)
   10. mlr3misc::encapsulate(...)
   15. mlr3:::.f(task = <environment>, learner = <environment>)
   16. learner$.__enclos_env__$private$.predict(task)
   17. distr6::VectorDistribution$new(...)
   18. .subset2(public_bind_env, "initialize")(...)
   21. distr6::decorate(self, decorators)
   22. base::lapply(...)
   23. distr6:::FUN(X[[i]], ...)
   24. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 4. Failure: autotest (@test_mlr_learners_density_kde.R#8)  ──────────────────
  `result` isn't true.
  [train()] learner 'dens.kde:pdf' on task 'feat_single_logical' failed: train log has errors: The following packages could not be loaded, please install: {pracma}
  
  ── 5. Error: (unknown) (@test_mlr_learners_density_kde.R#15)  ──────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. lrn$train(task)
    2. mlr3:::learner_train(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(learner = <environment>, task = <environment>)
    9. learner$.__enclos_env__$private$.train(task)
   10. get(as.character(subset(listKernels(), ShortName == self$param_set$values$kernel, ...
   11. .subset2(public_bind_env, "initialize")(...)
   12. super$initialize(...)
   13. distr6:::assert_pkgload(self$packages)
  
  ── 6. Failure: autotest (@test_mlr_learners_surv_coxph.R#9)  ───────────────────
  `result` isn't true.
  [predict()] learner 'surv.coxph:distr' on task 'feat_single_logical' failed: predict log has errors: The following packages could not be loaded, please install: {pracma}
  
  ── 7. Failure: autotest (@test_mlr_learners_surv_flexible.R#9)  ────────────────
  `result` isn't true.
  [predict()] learner 'surv.flexible:distr' on task 'feat_single_logical' failed: predict log has errors: The following packages could not be loaded, please install: {pracma}
  
  ── 8. Error: autotest (@test_mlr_learners_surv_flexible.R#12)  ─────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. lrn("surv.flexible", inits = c(1, 2))$train(task)$predict(task)
    2. mlr3:::learner_predict(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(task = <environment>, learner = <environment>)
    9. learner$.__enclos_env__$private$.predict(task)
   14. mlr3proba:::predict_flexsurvreg(self$model, task)
   15. distr6::VectorDistribution$new(...)
   16. .subset2(public_bind_env, "initialize")(...)
   19. distr6::decorate(self, decorators)
   20. base::lapply(...)
   21. distr6:::FUN(X[[i]], ...)
   22. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 9. Error: manualtest (@test_mlr_learners_surv_flexible.R#23)  ───────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. learn$predict(task)
    2. mlr3:::learner_predict(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(task = <environment>, learner = <environment>)
    9. learner$.__enclos_env__$private$.predict(task)
   14. mlr3proba:::predict_flexsurvreg(self$model, task)
   15. distr6::VectorDistribution$new(...)
   16. .subset2(public_bind_env, "initialize")(...)
   19. distr6::decorate(self, decorators)
   20. base::lapply(...)
   21. distr6:::FUN(X[[i]], ...)
   22. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 10. Failure: autotest (@test_mlr_learners_surv_gamboost.R#9)  ───────────────
  `result` isn't true.
  [predict()] learner 'surv.gamboost:distr' on task 'feat_single_integer' failed: predict log has errors: The following packages could not be loaded, please install: {pracma}
  
  ── 11. Failure: autotest (@test_mlr_learners_surv_glmboost.R#7)  ───────────────
  `result` isn't true.
  [predict()] learner 'surv.glmboost:distr' on task 'feat_single_integer' failed: predict log has errors: The following packages could not be loaded, please install: {pracma}
  
  ── 12. Failure: autotest (@test_mlr_learners_surv_kaplan.R#7)  ─────────────────
  `result` isn't true.
  [predict()] learner 'surv.kaplan:crank' on task 'feat_single_logical' failed: predict log has errors: The following packages could not be loaded, please install: {pracma}
  
  ── 13. Failure: autotest (@test_mlr_learners_surv_mboost.R#9)  ─────────────────
  `result` isn't true.
  [predict()] learner 'surv.mboost:distr' on task 'feat_single_integer' failed: predict log has errors: The following packages could not be loaded, please install: {pracma}
  
  ── 14. Failure: autotest (@test_mlr_learners_surv_obliuqersf.R#7)  ─────────────
  `result` isn't true.
  [train()] learner 'surv.obliqueRSF:crank' on task 'feat_all' failed: Error : The following packages could not be loaded: obliqueRSF
  
  
  ── 15. Failure: autotest (@test_mlr_learners_surv_penalized.R#9)  ──────────────
  `result` isn't true.
  [predict()] learner 'surv.penalized:distr' on task 'feat_single_integer' failed: predict log has errors: The following packages could not be loaded, please install: {pracma}
  
  123
  ── 16. Error: unpenalized (@test_mlr_learners_surv_penalized.R#24)  ────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. global::expect_prediction_surv(learner$predict(task))
    4. learner$predict(task)
    5. mlr3:::learner_predict(self, task, row_ids)
    6. mlr3misc::encapsulate(...)
   11. mlr3:::.f(task = <environment>, learner = <environment>)
   12. learner$.__enclos_env__$private$.predict(task)
   13. distr6::VectorDistribution$new(...)
   14. .subset2(public_bind_env, "initialize")(...)
   17. distr6::decorate(self, decorators)
   18. base::lapply(...)
   19. distr6:::FUN(X[[i]], ...)
   20. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 17. Failure: autotest (@test_mlr_learners_surv_randomforestsrc.R#9)  ────────
  `result` isn't true.
  [predict()] learner 'surv.randomForestSRC:crank' on task 'feat_single_logical' failed: predict log has errors: The following packages could not be loaded, please install: {pracma}
  
  ── 18. Failure: autotest (@test_mlr_learners_surv_ranger.R#8)  ─────────────────
  `result` isn't true.
  [predict()] learner 'surv.ranger:distr' on task 'feat_single_logical' failed: predict log has errors: The following packages could not be loaded, please install: {pracma}
  
  ── 19. Error: mlr_measures (@test_mlr_measures.R#16)  ──────────────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. mlr_learners$get("surv.coxph")$train(task)$predict(task)
    2. mlr3:::learner_predict(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(task = <environment>, learner = <environment>)
    9. learner$.__enclos_env__$private$.predict(task)
   10. distr6::VectorDistribution$new(...)
   11. .subset2(public_bind_env, "initialize")(...)
   14. distr6::decorate(self, decorators)
   15. base::lapply(...)
   16. distr6:::FUN(X[[i]], ...)
   17. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 20. Error: (unknown) (@test_mlr_measures.R#23)  ─────────────────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. learner$predict(task)
    2. mlr3:::learner_predict(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(task = <environment>, learner = <environment>)
    9. learner$.__enclos_env__$private$.predict(task)
   10. distr6::VectorDistribution$new(...)
   11. .subset2(public_bind_env, "initialize")(...)
   14. distr6::decorate(self, decorators)
   15. base::lapply(...)
   16. distr6:::FUN(X[[i]], ...)
   17. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 21. Error: PipeOpCrankCompositor - estimate (@test_pipeop_crankcompositor.R#1
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. gr$predict(task)
    2. mlr3:::learner_predict(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(task = <environment>, learner = <environment>)
    9. learner$predict_internal(task)
   10. self$graph$predict(task)
   11. mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   12. op[[fun]](input)
   13. self$predict_internal(input)
   14. private$.learner$predict(task)
   15. mlr3:::learner_predict(self, task, row_ids)
   16. mlr3misc::encapsulate(...)
   21. mlr3:::.f(task = <environment>, learner = <environment>)
   22. learner$.__enclos_env__$private$.predict(task)
   23. distr6::VectorDistribution$new(...)
   24. .subset2(public_bind_env, "initialize")(...)
   27. distr6::decorate(self, decorators)
   28. base::lapply(...)
   29. distr6:::FUN(X[[i]], ...)
   30. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 22. Error: no params (@test_pipeop_crankcompositor.R#26)  ───────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. po$predict(list(lrn("surv.kaplan")$train(task)$predict(task)))
    6. lrn("surv.kaplan")$train(task)$predict(task)
    7. mlr3:::learner_predict(self, task, row_ids)
    8. mlr3misc::encapsulate(...)
   13. mlr3:::.f(task = <environment>, learner = <environment>)
   14. learner$.__enclos_env__$private$.predict(task)
   15. distr6::VectorDistribution$new(...)
   16. .subset2(public_bind_env, "initialize")(...)
   19. distr6::decorate(self, decorators)
   20. base::lapply(...)
   21. distr6:::FUN(X[[i]], ...)
   22. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 23. Error: PipeOpDistrCompositor - overwrite = FALSE (@test_pipeop_distrcompo
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. testthat::expect_equal(gr$predict(task)$distr, lrn("surv.coxph")$train(task)$predict(task)$distr)
    4. gr$predict(task)
    5. mlr3:::learner_predict(self, task, row_ids)
    6. mlr3misc::encapsulate(...)
   11. mlr3:::.f(task = <environment>, learner = <environment>)
   12. learner$predict_internal(task)
   13. self$graph$predict(task)
   14. mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   15. op[[fun]](input)
   16. self$predict_internal(input)
       ...
   18. mlr3:::learner_predict(self, task, row_ids)
   19. mlr3misc::encapsulate(...)
   24. mlr3:::.f(task = <environment>, learner = <environment>)
   25. learner$.__enclos_env__$private$.predict(task)
   26. distr6::VectorDistribution$new(...)
   27. .subset2(public_bind_env, "initialize")(...)
   30. distr6::decorate(self, decorators)
   31. base::lapply(...)
   32. distr6:::FUN(X[[i]], ...)
   33. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 24. Error: PipeOpDistrCompositor - overwrite = TRUE (@test_pipeop_distrcompos
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. gr$predict(task)
    2. mlr3:::learner_predict(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(task = <environment>, learner = <environment>)
    9. learner$predict_internal(task)
   10. self$graph$predict(task)
   11. mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   12. op[[fun]](input)
   13. self$predict_internal(input)
   14. private$.learner$predict(task)
   15. mlr3:::learner_predict(self, task, row_ids)
   16. mlr3misc::encapsulate(...)
   21. mlr3:::.f(task = <environment>, learner = <environment>)
   22. learner$.__enclos_env__$private$.predict(task)
   23. distr6::VectorDistribution$new(...)
   24. .subset2(public_bind_env, "initialize")(...)
   27. distr6::decorate(self, decorators)
   28. base::lapply(...)
   29. distr6:::FUN(X[[i]], ...)
   30. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 25. Error: no params (@test_pipeop_distrcompositor.R#39)  ───────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. lrn("surv.kaplan")$train(task)$predict(task)
    2. mlr3:::learner_predict(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(task = <environment>, learner = <environment>)
    9. learner$.__enclos_env__$private$.predict(task)
   10. distr6::VectorDistribution$new(...)
   11. .subset2(public_bind_env, "initialize")(...)
   14. distr6::decorate(self, decorators)
   15. base::lapply(...)
   16. distr6:::FUN(X[[i]], ...)
   17. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 26. Error: resampling works (@test_resample.R#6)  ───────────────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. mlr3::resample(task, learner, mlr_resamplings$get("cv"))
    2. base::lapply(...)
    3. mlr3:::FUN(X[[i]], ...)
    4. base::Map(...)
    5. base::mapply(FUN = f, ..., SIMPLIFY = FALSE)
    7. mlr3:::learner_predict(learner, task, row_ids)
    8. mlr3misc::encapsulate(...)
   13. mlr3:::.f(task = <environment>, learner = <environment>)
   14. learner$.__enclos_env__$private$.predict(task)
   15. distr6::VectorDistribution$new(...)
   16. .subset2(public_bind_env, "initialize")(...)
   19. distr6::decorate(self, decorators)
   20. base::lapply(...)
   21. distr6:::FUN(X[[i]], ...)
   22. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ── 27. Error: single-step (@test_single_step.R#10)  ────────────────────────────
  The following packages could not be loaded, please install: {pracma}
  Backtrace:
    1. learner$predict_newdata(task = train_task, newdata = newdata)
    2. self$predict(task$rbind(newdata))
    3. mlr3:::learner_predict(self, task, row_ids)
    4. mlr3misc::encapsulate(...)
    9. mlr3:::.f(task = <environment>, learner = <environment>)
   10. learner$.__enclos_env__$private$.predict(task)
   11. distr6::VectorDistribution$new(...)
   12. .subset2(public_bind_env, "initialize")(...)
   15. distr6::decorate(self, decorators)
   16. base::lapply(...)
   17. distr6:::FUN(X[[i]], ...)
   18. distr6:::assert_pkgload(a_decorator$public_fields$packages)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 803 | SKIPPED: 9 | WARNINGS: 1 | FAILED: 27 ]
  1. Error: Internally constructed Prediction (@test_PredictionSurv.R#12) 
  2. Error: c (@test_PredictionSurv.R#20) 
  3. Error: benchmark works (@test_benchmark.R#6) 
  4. Failure: autotest (@test_mlr_learners_density_kde.R#8) 
  5. Error: (unknown) (@test_mlr_learners_density_kde.R#15) 
  6. Failure: autotest (@test_mlr_learners_surv_coxph.R#9) 
  7. Failure: autotest (@test_mlr_learners_surv_flexible.R#9) 
  8. Error: autotest (@test_mlr_learners_surv_flexible.R#12) 
  9. Error: manualtest (@test_mlr_learners_surv_flexible.R#23) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted