Running ‘testthat.R’ [298s/463s]
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_PredictionDens.R#12)  ────
  Distribution type must be provided.
  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)
   14. mlr3proba:::.histogram(dat = data)
   15. distr6::Distribution$new(...)
   16. .subset2(public_bind_env, "initialize")(...)
  
  ── 2. Error: c (@test_PredictionDens.R#18)  ────────────────────────────────────
  Distribution type must be provided.
  Backtrace:
    1. mlr3::resample(task, lrn, resampling)
    2. mlr3:::workhorse(...)
    3. mlr3:::learner_train(learner$clone(), task, sets[["train"]])
    4. mlr3misc::encapsulate(...)
    9. mlr3:::.f(learner = <environment>, task = <environment>)
   10. learner$.__enclos_env__$private$.train(task)
   15. mlr3proba:::.histogram(dat = data)
   16. distr6::Distribution$new(...)
   17. .subset2(public_bind_env, "initialize")(...)
  
  ── 3. Failure: autotest (@test_mlr_learners_density_hist.R#8)  ─────────────────
  `result` isn't true.
  [train()] learner 'dens.hist:pdf' on task 'feat_single_logical' failed: train log has errors: Distribution type must be provided.
  
  ── 4. Error: (unknown) (@test_mlr_learners_density_hist.R#16)  ─────────────────
  Distribution type must be provided.
  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)
   14. mlr3proba:::.histogram(dat = data, breaks = 5)
   15. distr6::Distribution$new(...)
   16. .subset2(public_bind_env, "initialize")(...)
  
  ── 5. 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: Distribution type must be provided.
  
  ── 6. Error: (unknown) (@test_mlr_learners_density_kde.R#15)  ──────────────────
  Distribution type must be provided.
  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. Distribution$new(...)
   11. .subset2(public_bind_env, "initialize")(...)
  
  ── 7. Error: autotest (@test_mlr_learners_surv_coxph.R#8)  ─────────────────────
  unused arguments (task = task, learner = learner, train_set = task$row_ids)
  Backtrace:
   1. global::run_autotest(learner, exclude = "weights", check_replicable = FALSE)
   2. global::run_experiment(task, learner)
   3. global::sanity_check(...)
  
  ── 8. Error: autotest (@test_mlr_learners_surv_gamboost.R#10)  ─────────────────
  unused arguments (task = task, learner = learner, train_set = task$row_ids)
  Backtrace:
   1. global::run_autotest(learner, exclude = "weights", check_replicable = FALSE)
   2. global::run_experiment(task, learner)
   3. global::sanity_check(...)
  
  ── 9. Error: autotest (@test_mlr_learners_surv_gbm.R#8)  ───────────────────────
  unused arguments (task = task, learner = learner, train_set = task$row_ids)
  Backtrace:
   1. global::run_autotest(learner, check_replicable = FALSE)
   2. global::run_experiment(task, learner)
   3. global::sanity_check(...)
  
  ── 10. Error: autotest (@test_mlr_learners_surv_glmboost.R#7)  ─────────────────
  unused arguments (task = task, learner = learner, train_set = task$row_ids)
  Backtrace:
   1. global::run_autotest(learner, exclude = "weights", check_replicable = FALSE)
   2. global::run_experiment(task, learner)
   3. global::sanity_check(...)
  
  ── 11. Error: autotest (@test_mlr_learners_surv_kaplan.R#6)  ───────────────────
  unused arguments (task = task, learner = learner, train_set = task$row_ids)
  Backtrace:
   1. global::run_autotest(learner, check_replicable = FALSE)
   2. global::run_experiment(task, learner)
   3. global::sanity_check(...)
  
  ── 12. Error: autotest (@test_mlr_learners_surv_mboost.R#10)  ──────────────────
  unused arguments (task = task, learner = learner, train_set = task$row_ids)
  Backtrace:
   1. global::run_autotest(learner, exclude = "weights", check_replicable = FALSE)
   2. global::run_experiment(task, learner)
   3. global::sanity_check(...)
  
  ── 13. Error: autotest (@test_mlr_learners_surv_ranger.R#7)  ───────────────────
  unused arguments (task = task, learner = learner, train_set = task$row_ids)
  Backtrace:
   1. global::run_autotest(learner, check_replicable = FALSE)
   2. global::run_experiment(task, learner)
   3. global::sanity_check(...)
  
  ── 14. Error: autotest (@test_mlr_learners_surv_rpart.R#6)  ────────────────────
  unused arguments (task = task, learner = learner, train_set = task$row_ids)
  Backtrace:
   1. global::run_autotest(learner, check_replicable = FALSE)
   2. global::run_experiment(task, learner)
   3. global::sanity_check(...)
  
  ── 15. Failure: integrated_prob_losses (@test_mlr_measures.R#36)  ──────────────
  `prediction$score(lapply(probs, msr, integrated = TRUE))` produced warnings.
  
  ── 16. Failure: integrated_prob_losses (@test_mlr_measures.R#38)  ──────────────
  `prediction$score(lapply(probs, msr, integrated = TRUE, times = c(2:3)))` produced warnings.
  
  ── 17. Failure: integrated_prob_losses (@test_mlr_measures.R#39)  ──────────────
  `prediction$score(lapply(probs, msr, integrated = FALSE, times = 2))` produced warnings.
  
  ── 18. Error: mlr_measures (@test_mlr_measures_dens.R#14)  ─────────────────────
  Distribution type must be provided.
  Backtrace:
    1. mlr_learners$get("dens.hist")$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)
   14. mlr3proba:::.histogram(dat = data)
   15. distr6::Distribution$new(...)
   16. .subset2(public_bind_env, "initialize")(...)
  
  ── 19. Error: PipeOpCrankCompositor - estimate (@test_pipeop_crankcompositor.R#1
  `which` cannot be `'all'` when vectorising.
  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. inpred$distr$mode()
   15. distr6:::f()
  
  ── 20. Failure: PipeOpDistrCompositor - overwrite = TRUE (@test_pipeop_distrcomp
  `expect_prediction_surv(gr$train(task)$predict(task))` produced messages.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1279 | SKIPPED: 9 | WARNINGS: 0 | FAILED: 20 ]
  1. Error: Internally constructed Prediction (@test_PredictionDens.R#12) 
  2. Error: c (@test_PredictionDens.R#18) 
  3. Failure: autotest (@test_mlr_learners_density_hist.R#8) 
  4. Error: (unknown) (@test_mlr_learners_density_hist.R#16) 
  5. Failure: autotest (@test_mlr_learners_density_kde.R#8) 
  6. Error: (unknown) (@test_mlr_learners_density_kde.R#15) 
  7. Error: autotest (@test_mlr_learners_surv_coxph.R#8) 
  8. Error: autotest (@test_mlr_learners_surv_gamboost.R#10) 
  9. Error: autotest (@test_mlr_learners_surv_gbm.R#8) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted