Running ‘testthat.R’ [159s/184s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mlr3proba)
  > 
  > test_check("mlr3proba")
  ── 1. 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: 'Reals' is not an exported object from 'namespace:distr6'
  
  ── 2. Error: autotest (@test_mlr_learners_surv_flexible.R#12)  ─────────────────
  'Reals' is not an exported object from 'namespace:distr6'
  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$predict_internal(task = task)
   14. mlr3proba:::predict_flexsurvreg(self$model, task)
   20. distr6::Reals
   21. base::getExportedValue(pkg, name)
  
  ── 3. Error: manualtest (@test_mlr_learners_surv_flexible.R#23)  ───────────────
  'Reals' is not an exported object from 'namespace:distr6'
  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$predict_internal(task = task)
   14. mlr3proba:::predict_flexsurvreg(self$model, task)
   20. distr6::Reals
   21. base::getExportedValue(pkg, name)
  
  ── 4. Failure: autotest (@test_mlr_learners_surv_parametric.R#7)  ──────────────
  `result` isn't true.
  [predict()] learner 'surv.parametric:distr' on task 'feat_single_logical' failed: predict log has errors: 'toproper' is not an exported object from 'namespace:distr6'
  
  ── 5. Error: autotest (@test_mlr_learners_surv_parametric.R#10)  ───────────────
  'toproper' is not an exported object from 'namespace:distr6'
  Backtrace:
    1. testthat::expect_silent(...)
   12. lrn("surv.parametric", type = "aft")$train(tsk("rats"))$predict(tsk("rats"))
   13. mlr3:::learner_predict(self, task, row_ids)
   14. mlr3misc::encapsulate(...)
   19. mlr3:::.f(task = <environment>, learner = <environment>)
   20. learner$predict_internal(task = task)
   25. mlr3proba:::predict_survreg(...)
   26. distr6::toproper
   27. base::getExportedValue(pkg, name)
  
  ── 6. Error: manualtest - aft (@test_mlr_learners_surv_parametric.R#24)  ───────
  'toproper' is not an exported object from 'namespace:distr6'
  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$predict_internal(task = task)
   14. mlr3proba:::predict_survreg(...)
   15. distr6::toproper
   16. base::getExportedValue(pkg, name)
  
  123
  123456
  ── 7. Error: PipeOpDistrCompositor - assertions (@test_pipeop_distrcompositor.R#
  attempt to apply non-function
  Backtrace:
    1. testthat::expect_silent(...)
    9. pod$predict(...)
   10. self$predict_internal(input)
  
  ── 8. Error: PipeOpDistrCompositor - overwrite = TRUE (@test_pipeop_distrcomposi
  attempt to apply non-function
  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 = task)
   10. self$graph$predict(task)
   11. mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   12. op[[fun]](input)
   13. self$predict_internal(input)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1037 | SKIPPED: 7 | WARNINGS: 1 | FAILED: 8 ]
  1. Failure: autotest (@test_mlr_learners_surv_flexible.R#9) 
  2. Error: autotest (@test_mlr_learners_surv_flexible.R#12) 
  3. Error: manualtest (@test_mlr_learners_surv_flexible.R#23) 
  4. Failure: autotest (@test_mlr_learners_surv_parametric.R#7) 
  5. Error: autotest (@test_mlr_learners_surv_parametric.R#10) 
  6. Error: manualtest - aft (@test_mlr_learners_surv_parametric.R#24) 
  7. Error: PipeOpDistrCompositor - assertions (@test_pipeop_distrcompositor.R#15) 
  8. Error: PipeOpDistrCompositor - overwrite = TRUE (@test_pipeop_distrcompositor.R#29) 
  
  Error: testthat unit tests failed
  Execution halted