Running ‘testthat.R’ [45s/67s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(checkmate) # for more expect_*() functions
  > library(mlr3proba)
  > 
  > test_check("mlr3proba")
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (2)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_PredictionSurv.R:10:3): Internally constructed Prediction ───────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─lrn$train(task)$predict(task) test_PredictionSurv.R:10:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   12. │             └─mlr3proba::.surv_return(times = times, surv = surv)
   13. │               └─distr6::VectorDistribution$new(...)
   14. │                 └─distr6:::initialize(...)
   15. └─(function (x) ...
   16.   └─param6:::.ParameterSet__values(self, private, x)
   17.     └─param6:::.check(...)
   18.       └─param6:::.check_deps(...)
   19.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_PredictionSurv.R:18:3): c ───────────────────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
      █
   1. └─mlr3::resample(task, lrn, resampling) test_PredictionSurv.R:18:2
   2.   └─future.apply::future_lapply(...)
   3.     └─future.apply:::future_xapply(...)
   4.       ├─future::value(fs)
   5.       └─future:::value.list(fs)
   6.         ├─future::resolve(...)
   7.         └─future:::resolve.list(...)
   8.           └─future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   9.             └─future:::signalConditions(...)
  ── Error (test_PredictionSurv.R:47:3): data.frame roundtrip ────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─lrn("surv.coxph")$train(task)$predict(task) test_PredictionSurv.R:47:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3proba:::.__LearnerSurvCoxPH__.predict(...)
   12. │             └─mlr3proba::.surv_return(...)
   13. │               └─distr6::VectorDistribution$new(...)
   14. │                 └─distr6:::initialize(...)
   15. └─(function (x) ...
   16.   └─param6:::.ParameterSet__values(self, private, x)
   17.     └─param6:::.check(...)
   18.       └─param6:::.check_deps(...)
   19.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Failure (test_mlr_learners_surv_coxph.R:8:3): autotest ──────────────────────
  `result` is not TRUE
  
  `actual` is a list
  `expected` is a logical vector (TRUE)
  [predict()] learner 'surv.coxph:distr' on task 'feat_single_logical' failed: predict log has errors: Dependency of 'cdf len x' failed.
  ── Failure (test_mlr_learners_surv_kaplan.R:6:3): autotest ─────────────────────
  `result` is not TRUE
  
  `actual` is a list
  `expected` is a logical vector (TRUE)
  [predict()] learner 'surv.kaplan:crank' on task 'feat_single_logical' failed: predict log has errors: Dependency of 'cdf len x' failed.
  ── Error (test_mlr_measures.R:4:1): (code run outside of `test_that()`) ────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─learner$predict(task) test_mlr_measures.R:4:0
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3proba:::.__LearnerSurvCoxPH__.predict(...)
   12. │             └─mlr3proba::.surv_return(...)
   13. │               └─distr6::VectorDistribution$new(...)
   14. │                 └─distr6:::initialize(...)
   15. └─(function (x) ...
   16.   └─param6:::.ParameterSet__values(self, private, x)
   17.     └─param6:::.check(...)
   18.       └─param6:::.check_deps(...)
   19.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_mlr_measures_MeasureSurvIntegrated.R:46:3): training data for weights ──
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─l$train(t, 1:50)$predict(t, 51:100) test_mlr_measures_MeasureSurvIntegrated.R:46:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   12. │             └─mlr3proba::.surv_return(times = times, surv = surv)
   13. │               └─distr6::VectorDistribution$new(...)
   14. │                 └─distr6:::initialize(...)
   15. └─(function (x) ...
   16.   └─param6:::.ParameterSet__values(self, private, x)
   17.     └─param6:::.check(...)
   18.       └─param6:::.check_deps(...)
   19.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_mlr_measures_MeasureSurvIntegrated.R:56:3): proper option ───────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─l$train(tgen("simsurv")$generate(100))$predict(tgen("simsurv")$generate(50)) test_mlr_measures_MeasureSurvIntegrated.R:56:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   12. │             └─mlr3proba::.surv_return(times = times, surv = surv)
   13. │               └─distr6::VectorDistribution$new(...)
   14. │                 └─distr6:::initialize(...)
   15. └─(function (x) ...
   16.   └─param6:::.ParameterSet__values(self, private, x)
   17.     └─param6:::.check(...)
   18.       └─param6:::.check_deps(...)
   19.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipelines.R:10:3): crankcompositor ──────────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─pipe$predict(task) test_pipelines.R:10:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3pipelines:::.__GraphLearner__.predict(...)
   12. │             └─self$graph$predict(task)
   13. │               └─mlr3pipelines:::.__Graph__predict(...)
   14. │                 └─mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   15. │                   └─op[[fun]](input)
   16. │                     └─mlr3pipelines:::.__PipeOp__predict(...)
   17. │                       └─private$.predict(input)
   18. │                         └─mlr3pipelines:::.__PipeOpLearner__.predict(...)
   19. │                           └─private$.learner$predict(task)
   20. │                             └─mlr3:::.__Learner__predict(...)
   21. │                               └─mlr3:::learner_predict(self, task, row_ids)
   22. │                                 └─mlr3misc::encapsulate(...)
   23. │                                   ├─mlr3misc::invoke(...)
   24. │                                   │ └─base::eval.parent(expr, n = 1L)
   25. │                                   │   └─base::eval(expr, p)
   26. │                                   │     └─base::eval(expr, p)
   27. │                                   └─mlr3:::.f(task = <environment>, learner = <environment>)
   28. │                                     └─get_private(learner)$.predict(task)
   29. │                                       └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   30. │                                         └─mlr3proba::.surv_return(times = times, surv = surv)
   31. │                                           └─distr6::VectorDistribution$new(...)
   32. │                                             └─distr6:::initialize(...)
   33. └─(function (x) ...
   34.   └─param6:::.ParameterSet__values(self, private, x)
   35.     └─param6:::.check(...)
   36.       └─param6:::.check_deps(...)
   37.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipelines.R:21:3): distrcompositor ──────────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─pipe$predict(task) test_pipelines.R:21:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3pipelines:::.__GraphLearner__.predict(...)
   12. │             └─self$graph$predict(task)
   13. │               └─mlr3pipelines:::.__Graph__predict(...)
   14. │                 └─mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   15. │                   └─op[[fun]](input)
   16. │                     └─mlr3pipelines:::.__PipeOp__predict(...)
   17. │                       └─private$.predict(input)
   18. │                         └─mlr3pipelines:::.__PipeOpLearner__.predict(...)
   19. │                           └─private$.learner$predict(task)
   20. │                             └─mlr3:::.__Learner__predict(...)
   21. │                               └─mlr3:::learner_predict(self, task, row_ids)
   22. │                                 └─mlr3misc::encapsulate(...)
   23. │                                   ├─mlr3misc::invoke(...)
   24. │                                   │ └─base::eval.parent(expr, n = 1L)
   25. │                                   │   └─base::eval(expr, p)
   26. │                                   │     └─base::eval(expr, p)
   27. │                                   └─mlr3:::.f(task = <environment>, learner = <environment>)
   28. │                                     └─get_private(learner)$.predict(task)
   29. │                                       └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   30. │                                         └─mlr3proba::.surv_return(times = times, surv = surv)
   31. │                                           └─distr6::VectorDistribution$new(...)
   32. │                                             └─distr6:::initialize(...)
   33. └─(function (x) ...
   34.   └─param6:::.ParameterSet__values(self, private, x)
   35.     └─param6:::.check(...)
   36.       └─param6:::.check_deps(...)
   37.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipelines.R:35:3): survaverager ─────────────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─pipe$predict(task) test_pipelines.R:35:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3pipelines:::.__GraphLearner__.predict(...)
   12. │             └─self$graph$predict(task)
   13. │               └─mlr3pipelines:::.__Graph__predict(...)
   14. │                 └─mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   15. │                   └─op[[fun]](input)
   16. │                     └─mlr3pipelines:::.__PipeOp__predict(...)
   17. │                       └─private$.predict(input)
   18. │                         └─mlr3pipelines:::.__PipeOpLearner__.predict(...)
   19. │                           └─private$.learner$predict(task)
   20. │                             └─mlr3:::.__Learner__predict(...)
   21. │                               └─mlr3:::learner_predict(self, task, row_ids)
   22. │                                 └─mlr3misc::encapsulate(...)
   23. │                                   ├─mlr3misc::invoke(...)
   24. │                                   │ └─base::eval.parent(expr, n = 1L)
   25. │                                   │   └─base::eval(expr, p)
   26. │                                   │     └─base::eval(expr, p)
   27. │                                   └─mlr3:::.f(task = <environment>, learner = <environment>)
   28. │                                     └─get_private(learner)$.predict(task)
   29. │                                       └─mlr3proba:::.__LearnerSurvCoxPH__.predict(...)
   30. │                                         └─mlr3proba::.surv_return(...)
   31. │                                           └─distr6::VectorDistribution$new(...)
   32. │                                             └─distr6:::initialize(...)
   33. └─(function (x) ...
   34.   └─param6:::.ParameterSet__values(self, private, x)
   35.     └─param6:::.check(...)
   36.       └─param6:::.check_deps(...)
   37.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipelines.R:45:3): survbagging ──────────────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─pipe$predict(task) test_pipelines.R:45:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3pipelines:::.__GraphLearner__.predict(...)
   12. │             └─self$graph$predict(task)
   13. │               └─mlr3pipelines:::.__Graph__predict(...)
   14. │                 └─mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   15. │                   └─op[[fun]](input)
   16. │                     └─mlr3pipelines:::.__PipeOp__predict(...)
   17. │                       └─private$.predict(input)
   18. │                         └─mlr3pipelines:::.__PipeOpLearner__.predict(...)
   19. │                           └─private$.learner$predict(task)
   20. │                             └─mlr3:::.__Learner__predict(...)
   21. │                               └─mlr3:::learner_predict(self, task, row_ids)
   22. │                                 └─mlr3misc::encapsulate(...)
   23. │                                   ├─mlr3misc::invoke(...)
   24. │                                   │ └─base::eval.parent(expr, n = 1L)
   25. │                                   │   └─base::eval(expr, p)
   26. │                                   │     └─base::eval(expr, p)
   27. │                                   └─mlr3:::.f(task = <environment>, learner = <environment>)
   28. │                                     └─get_private(learner)$.predict(task)
   29. │                                       └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   30. │                                         └─mlr3proba::.surv_return(times = times, surv = surv)
   31. │                                           └─distr6::VectorDistribution$new(...)
   32. │                                             └─distr6:::initialize(...)
   33. └─(function (x) ...
   34.   └─param6:::.ParameterSet__values(self, private, x)
   35.     └─param6:::.check(...)
   36.       └─param6:::.check_deps(...)
   37.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipelines.R:51:3): resample survtoregr ──────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
      █
   1. └─mlr3::resample(task, pipe, rsmp("cv", folds = 2)) test_pipelines.R:51:2
   2.   └─future.apply::future_lapply(...)
   3.     └─future.apply:::future_xapply(...)
   4.       ├─future::value(fs)
   5.       └─future:::value.list(fs)
   6.         ├─future::resolve(...)
   7.         └─future:::resolve.list(...)
   8.           └─future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   9.             └─future:::signalConditions(...)
  ── Error (test_pipelines.R:60:3): survtoregr 1 ─────────────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─pipe$train(task) test_pipelines.R:60:2
    2. │ └─mlr3:::.__Learner__train(...)
    3. │   └─mlr3:::learner_train(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(learner = <environment>, task = <environment>)
   10. │         └─get_private(learner)$.train(task)
   11. │           └─mlr3pipelines:::.__GraphLearner__.train(...)
   12. │             └─self$graph$train(task)
   13. │               └─mlr3pipelines:::.__Graph__train(...)
   14. │                 └─mlr3pipelines:::graph_reduce(self, input, "train", single_input)
   15. │                   └─op[[fun]](input)
   16. │                     └─mlr3pipelines:::.__PipeOp__train(...)
   17. │                       └─private$.train(input)
   18. │                         └─mlr3proba:::.__PipeOpTransformer__.train(...)
   19. │                           └─private$.transform(inputs)
   20. │                             └─mlr3proba:::.__PipeOpTaskSurvRegr__.transform(...)
   21. │                               └─private$.ipcw(backend, status, time, estimator, eps)
   22. │                                 └─mlr3proba:::.__PipeOpTaskSurvRegr__.ipcw(...)
   23. │                                   └─est$train(task)$predict(task)
   24. │                                     └─mlr3:::.__Learner__predict(...)
   25. │                                       └─mlr3:::learner_predict(self, task, row_ids)
   26. │                                         └─mlr3misc::encapsulate(...)
   27. │                                           ├─mlr3misc::invoke(...)
   28. │                                           │ └─base::eval.parent(expr, n = 1L)
   29. │                                           │   └─base::eval(expr, p)
   30. │                                           │     └─base::eval(expr, p)
   31. │                                           └─mlr3:::.f(task = <environment>, learner = <environment>)
   32. │                                             └─get_private(learner)$.predict(task)
   33. │                                               └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   34. │                                                 └─mlr3proba::.surv_return(times = times, surv = surv)
   35. │                                                   └─distr6::VectorDistribution$new(...)
   36. │                                                     └─distr6:::initialize(...)
   37. └─(function (x) ...
   38.   └─param6:::.ParameterSet__values(self, private, x)
   39.     └─param6:::.check(...)
   40.       └─param6:::.check_deps(...)
   41.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipelines.R:77:3): survtoregr 2 ─────────────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─pipe$train(task) test_pipelines.R:77:2
    2. │ └─mlr3:::.__Learner__train(...)
    3. │   └─mlr3:::learner_train(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(learner = <environment>, task = <environment>)
   10. │         └─get_private(learner)$.train(task)
   11. │           └─mlr3pipelines:::.__GraphLearner__.train(...)
   12. │             └─self$graph$train(task)
   13. │               └─mlr3pipelines:::.__Graph__train(...)
   14. │                 └─mlr3pipelines:::graph_reduce(self, input, "train", single_input)
   15. │                   └─op[[fun]](input)
   16. │                     └─mlr3pipelines:::.__PipeOp__train(...)
   17. │                       └─private$.train(input)
   18. │                         └─mlr3proba:::.__PipeOpTransformer__.train(...)
   19. │                           └─private$.transform(inputs)
   20. │                             └─mlr3proba:::.__PipeOpTaskSurvRegr__.transform(...)
   21. │                               └─private$.ipcw(backend, status, time, estimator, eps)
   22. │                                 └─mlr3proba:::.__PipeOpTaskSurvRegr__.ipcw(...)
   23. │                                   └─est$train(task)$predict(task)
   24. │                                     └─mlr3:::.__Learner__predict(...)
   25. │                                       └─mlr3:::learner_predict(self, task, row_ids)
   26. │                                         └─mlr3misc::encapsulate(...)
   27. │                                           ├─mlr3misc::invoke(...)
   28. │                                           │ └─base::eval.parent(expr, n = 1L)
   29. │                                           │   └─base::eval(expr, p)
   30. │                                           │     └─base::eval(expr, p)
   31. │                                           └─mlr3:::.f(task = <environment>, learner = <environment>)
   32. │                                             └─get_private(learner)$.predict(task)
   33. │                                               └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   34. │                                                 └─mlr3proba::.surv_return(times = times, surv = surv)
   35. │                                                   └─distr6::VectorDistribution$new(...)
   36. │                                                     └─distr6:::initialize(...)
   37. └─(function (x) ...
   38.   └─param6:::.ParameterSet__values(self, private, x)
   39.     └─param6:::.check(...)
   40.       └─param6:::.check_deps(...)
   41.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipelines.R:96:3): survtoregr 3 ─────────────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─pipe$train(task) test_pipelines.R:96:2
    2. │ └─mlr3:::.__Learner__train(...)
    3. │   └─mlr3:::learner_train(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(learner = <environment>, task = <environment>)
   10. │         └─get_private(learner)$.train(task)
   11. │           └─mlr3pipelines:::.__GraphLearner__.train(...)
   12. │             └─self$graph$train(task)
   13. │               └─mlr3pipelines:::.__Graph__train(...)
   14. │                 └─mlr3pipelines:::graph_reduce(self, input, "train", single_input)
   15. │                   └─op[[fun]](input)
   16. │                     └─mlr3pipelines:::.__PipeOp__train(...)
   17. │                       └─private$.train(input)
   18. │                         └─mlr3pipelines:::.__PipeOpTaskPreproc__.train(...)
   19. │                           └─private$.train_task(intask)
   20. │                             └─mlr3pipelines:::.__PipeOpLearnerCV__.train_task(...)
   21. │                               ├─data.table::as.data.table(private$.learner$predict(task))
   22. │                               └─private$.learner$predict(task)
   23. │                                 └─mlr3:::.__Learner__predict(...)
   24. │                                   └─mlr3:::learner_predict(self, task, row_ids)
   25. │                                     └─mlr3misc::encapsulate(...)
   26. │                                       ├─mlr3misc::invoke(...)
   27. │                                       │ └─base::eval.parent(expr, n = 1L)
   28. │                                       │   └─base::eval(expr, p)
   29. │                                       │     └─base::eval(expr, p)
   30. │                                       └─mlr3:::.f(task = <environment>, learner = <environment>)
   31. │                                         └─get_private(learner)$.predict(task)
   32. │                                           └─mlr3proba:::.__LearnerSurvCoxPH__.predict(...)
   33. │                                             └─mlr3proba::.surv_return(...)
   34. │                                               └─distr6::VectorDistribution$new(...)
   35. │                                                 └─distr6:::initialize(...)
   36. └─(function (x) ...
   37.   └─param6:::.ParameterSet__values(self, private, x)
   38.     └─param6:::.check(...)
   39.       └─param6:::.check_deps(...)
   40.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_crankcompositor.R:11:3): PipeOpCrankCompositor - estimate ──
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─gr$predict(task) test_pipeop_crankcompositor.R:11:2
    2. │ └─mlr3pipelines:::.__Graph__predict(...)
    3. │   └─mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
    4. │     └─op[[fun]](input)
    5. │       └─mlr3pipelines:::.__PipeOp__predict(...)
    6. │         └─private$.predict(input)
    7. │           └─mlr3pipelines:::.__PipeOpLearner__.predict(...)
    8. │             └─private$.learner$predict(task)
    9. │               └─mlr3:::.__Learner__predict(...)
   10. │                 └─mlr3:::learner_predict(self, task, row_ids)
   11. │                   └─mlr3misc::encapsulate(...)
   12. │                     ├─mlr3misc::invoke(...)
   13. │                     │ └─base::eval.parent(expr, n = 1L)
   14. │                     │   └─base::eval(expr, p)
   15. │                     │     └─base::eval(expr, p)
   16. │                     └─mlr3:::.f(task = <environment>, learner = <environment>)
   17. │                       └─get_private(learner)$.predict(task)
   18. │                         └─mlr3proba:::.__LearnerSurvCoxPH__.predict(...)
   19. │                           └─mlr3proba::.surv_return(...)
   20. │                             └─distr6::VectorDistribution$new(...)
   21. │                               └─distr6:::initialize(...)
   22. └─(function (x) ...
   23.   └─param6:::.ParameterSet__values(self, private, x)
   24.     └─param6:::.check(...)
   25.       └─param6:::.check_deps(...)
   26.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_crankcompositor.R:18:3): no params ───────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─po$predict(list(lrn("surv.kaplan")$train(task)$predict(task))) test_pipeop_crankcompositor.R:18:2
    2. │ └─mlr3pipelines:::.__PipeOp__predict(...)
    3. │   └─mlr3misc::every(input, is_noop)
    4. │     └─mlr3misc::map_lgl(.x, .p, ...)
    5. │       └─mlr3misc:::map_mold(.x, .f, NA, ...)
    6. │         └─base::vapply(.x, .f, FUN.VALUE = .value, USE.NAMES = FALSE, ...)
    7. ├─lrn("surv.kaplan")$train(task)$predict(task)
    8. │ └─mlr3:::.__Learner__predict(...)
    9. │   └─mlr3:::learner_predict(self, task, row_ids)
   10. │     └─mlr3misc::encapsulate(...)
   11. │       ├─mlr3misc::invoke(...)
   12. │       │ └─base::eval.parent(expr, n = 1L)
   13. │       │   └─base::eval(expr, p)
   14. │       │     └─base::eval(expr, p)
   15. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   16. │         └─get_private(learner)$.predict(task)
   17. │           └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   18. │             └─mlr3proba::.surv_return(times = times, surv = surv)
   19. │               └─distr6::VectorDistribution$new(...)
   20. │                 └─distr6:::initialize(...)
   21. └─(function (x) ...
   22.   └─param6:::.ParameterSet__values(self, private, x)
   23.     └─param6:::.check(...)
   24.       └─param6:::.check_deps(...)
   25.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_crankcompositor.R:26:3): response ────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─po$predict(list(lrn("surv.kaplan")$train(task)$predict(task))) test_pipeop_crankcompositor.R:26:2
    2. │ └─mlr3pipelines:::.__PipeOp__predict(...)
    3. │   └─mlr3misc::every(input, is_noop)
    4. │     └─mlr3misc::map_lgl(.x, .p, ...)
    5. │       └─mlr3misc:::map_mold(.x, .f, NA, ...)
    6. │         └─base::vapply(.x, .f, FUN.VALUE = .value, USE.NAMES = FALSE, ...)
    7. ├─lrn("surv.kaplan")$train(task)$predict(task)
    8. │ └─mlr3:::.__Learner__predict(...)
    9. │   └─mlr3:::learner_predict(self, task, row_ids)
   10. │     └─mlr3misc::encapsulate(...)
   11. │       ├─mlr3misc::invoke(...)
   12. │       │ └─base::eval.parent(expr, n = 1L)
   13. │       │   └─base::eval(expr, p)
   14. │       │     └─base::eval(expr, p)
   15. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   16. │         └─get_private(learner)$.predict(task)
   17. │           └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   18. │             └─mlr3proba::.surv_return(times = times, surv = surv)
   19. │               └─distr6::VectorDistribution$new(...)
   20. │                 └─distr6:::initialize(...)
   21. └─(function (x) ...
   22.   └─param6:::.ParameterSet__values(self, private, x)
   23.     └─param6:::.check(...)
   24.       └─param6:::.check_deps(...)
   25.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_crankcompositor.R:40:3): overwrite crank ─────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─pl$train(task)$predict(task) test_pipeop_crankcompositor.R:40:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3pipelines:::.__GraphLearner__.predict(...)
   12. │             └─self$graph$predict(task)
   13. │               └─mlr3pipelines:::.__Graph__predict(...)
   14. │                 └─mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   15. │                   └─op[[fun]](input)
   16. │                     └─mlr3pipelines:::.__PipeOp__predict(...)
   17. │                       └─private$.predict(input)
   18. │                         └─mlr3pipelines:::.__PipeOpLearner__.predict(...)
   19. │                           └─private$.learner$predict(task)
   20. │                             └─mlr3:::.__Learner__predict(...)
   21. │                               └─mlr3:::learner_predict(self, task, row_ids)
   22. │                                 └─mlr3misc::encapsulate(...)
   23. │                                   ├─mlr3misc::invoke(...)
   24. │                                   │ └─base::eval.parent(expr, n = 1L)
   25. │                                   │   └─base::eval(expr, p)
   26. │                                   │     └─base::eval(expr, p)
   27. │                                   └─mlr3:::.f(task = <environment>, learner = <environment>)
   28. │                                     └─get_private(learner)$.predict(task)
   29. │                                       └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   30. │                                         └─mlr3proba::.surv_return(times = times, surv = surv)
   31. │                                           └─distr6::VectorDistribution$new(...)
   32. │                                             └─distr6:::initialize(...)
   33. └─(function (x) ...
   34.   └─param6:::.ParameterSet__values(self, private, x)
   35.     └─param6:::.check(...)
   36.       └─param6:::.check_deps(...)
   37.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_crankcompositor.R:56:3): overwrite response ──────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─lrn("surv.kaplan")$train(task)$predict(task) test_pipeop_crankcompositor.R:56:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   12. │             └─mlr3proba::.surv_return(times = times, surv = surv)
   13. │               └─distr6::VectorDistribution$new(...)
   14. │                 └─distr6:::initialize(...)
   15. └─(function (x) ...
   16.   └─param6:::.ParameterSet__values(self, private, x)
   17.     └─param6:::.check(...)
   18.       └─param6:::.check_deps(...)
   19.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_crankcompositor.R:76:3): neg crank ───────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─pl$train(task)$predict(task) test_pipeop_crankcompositor.R:76:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3pipelines:::.__GraphLearner__.predict(...)
   12. │             └─self$graph$predict(task)
   13. │               └─mlr3pipelines:::.__Graph__predict(...)
   14. │                 └─mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
   15. │                   └─op[[fun]](input)
   16. │                     └─mlr3pipelines:::.__PipeOp__predict(...)
   17. │                       └─private$.predict(input)
   18. │                         └─mlr3pipelines:::.__PipeOpLearner__.predict(...)
   19. │                           └─private$.learner$predict(task)
   20. │                             └─mlr3:::.__Learner__predict(...)
   21. │                               └─mlr3:::learner_predict(self, task, row_ids)
   22. │                                 └─mlr3misc::encapsulate(...)
   23. │                                   ├─mlr3misc::invoke(...)
   24. │                                   │ └─base::eval.parent(expr, n = 1L)
   25. │                                   │   └─base::eval(expr, p)
   26. │                                   │     └─base::eval(expr, p)
   27. │                                   └─mlr3:::.f(task = <environment>, learner = <environment>)
   28. │                                     └─get_private(learner)$.predict(task)
   29. │                                       └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   30. │                                         └─mlr3proba::.surv_return(times = times, surv = surv)
   31. │                                           └─distr6::VectorDistribution$new(...)
   32. │                                             └─distr6:::initialize(...)
   33. └─(function (x) ...
   34.   └─param6:::.ParameterSet__values(self, private, x)
   35.     └─param6:::.check(...)
   36.       └─param6:::.check_deps(...)
   37.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_distrcompositor.R:10:3): PipeOpDistrCompositor - overwrite = FALSE ──
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─testthat::expect_equal(...) test_pipeop_distrcompositor.R:10:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─gr$predict(task)
    5. │ └─mlr3pipelines:::.__Graph__predict(...)
    6. │   └─mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
    7. │     └─op[[fun]](input)
    8. │       └─mlr3pipelines:::.__PipeOp__predict(...)
    9. │         └─private$.predict(input)
   10. │           └─mlr3pipelines:::.__PipeOpLearner__.predict(...)
   11. │             └─private$.learner$predict(task)
   12. │               └─mlr3:::.__Learner__predict(...)
   13. │                 └─mlr3:::learner_predict(self, task, row_ids)
   14. │                   └─mlr3misc::encapsulate(...)
   15. │                     ├─mlr3misc::invoke(...)
   16. │                     │ └─base::eval.parent(expr, n = 1L)
   17. │                     │   └─base::eval(expr, p)
   18. │                     │     └─base::eval(expr, p)
   19. │                     └─mlr3:::.f(task = <environment>, learner = <environment>)
   20. │                       └─get_private(learner)$.predict(task)
   21. │                         └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   22. │                           └─mlr3proba::.surv_return(times = times, surv = surv)
   23. │                             └─distr6::VectorDistribution$new(...)
   24. │                               └─distr6:::initialize(...)
   25. └─(function (x) ...
   26.   └─param6:::.ParameterSet__values(self, private, x)
   27.     └─param6:::.check(...)
   28.       └─param6:::.check_deps(...)
   29.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_distrcompositor.R:18:3): PipeOpDistrCompositor - overwrite = TRUE ──
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─gr$predict(task) test_pipeop_distrcompositor.R:18:2
    2. │ └─mlr3pipelines:::.__Graph__predict(...)
    3. │   └─mlr3pipelines:::graph_reduce(self, input, "predict", single_input)
    4. │     └─op[[fun]](input)
    5. │       └─mlr3pipelines:::.__PipeOp__predict(...)
    6. │         └─private$.predict(input)
    7. │           └─mlr3pipelines:::.__PipeOpLearner__.predict(...)
    8. │             └─private$.learner$predict(task)
    9. │               └─mlr3:::.__Learner__predict(...)
   10. │                 └─mlr3:::learner_predict(self, task, row_ids)
   11. │                   └─mlr3misc::encapsulate(...)
   12. │                     ├─mlr3misc::invoke(...)
   13. │                     │ └─base::eval.parent(expr, n = 1L)
   14. │                     │   └─base::eval(expr, p)
   15. │                     │     └─base::eval(expr, p)
   16. │                     └─mlr3:::.f(task = <environment>, learner = <environment>)
   17. │                       └─get_private(learner)$.predict(task)
   18. │                         └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   19. │                           └─mlr3proba::.surv_return(times = times, surv = surv)
   20. │                             └─distr6::VectorDistribution$new(...)
   21. │                               └─distr6:::initialize(...)
   22. └─(function (x) ...
   23.   └─param6:::.ParameterSet__values(self, private, x)
   24.     └─param6:::.check(...)
   25.       └─param6:::.check_deps(...)
   26.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_distrcompositor.R:29:3): no params ───────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─lrn("surv.kaplan")$train(task)$predict(task) test_pipeop_distrcompositor.R:29:2
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   12. │             └─mlr3proba::.surv_return(times = times, surv = surv)
   13. │               └─distr6::VectorDistribution$new(...)
   14. │                 └─distr6:::initialize(...)
   15. └─(function (x) ...
   16.   └─param6:::.ParameterSet__values(self, private, x)
   17.     └─param6:::.check(...)
   18.       └─param6:::.check_deps(...)
   19.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_pipeop_survavg.R:7:1): (code run outside of `test_that()`) ──────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─lrn("surv.kaplan")$train(task)$predict(task) test_pipeop_survavg.R:7:0
    2. │ └─mlr3:::.__Learner__predict(...)
    3. │   └─mlr3:::learner_predict(self, task, row_ids)
    4. │     └─mlr3misc::encapsulate(...)
    5. │       ├─mlr3misc::invoke(...)
    6. │       │ └─base::eval.parent(expr, n = 1L)
    7. │       │   └─base::eval(expr, p)
    8. │       │     └─base::eval(expr, p)
    9. │       └─mlr3:::.f(task = <environment>, learner = <environment>)
   10. │         └─get_private(learner)$.predict(task)
   11. │           └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   12. │             └─mlr3proba::.surv_return(times = times, surv = surv)
   13. │               └─distr6::VectorDistribution$new(...)
   14. │                 └─distr6:::initialize(...)
   15. └─(function (x) ...
   16.   └─param6:::.ParameterSet__values(self, private, x)
   17.     └─param6:::.check(...)
   18.       └─param6:::.check_deps(...)
   19.         └─param6:::.return_fail(msg = msg, error_on_fail)
  ── Error (test_resample.R:8:3): resample-step ──────────────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─base::suppressWarnings(resample(task, learner, resampling)) test_resample.R:8:2
    2. │ └─base::withCallingHandlers(...)
    3. └─mlr3::resample(task, learner, resampling)
    4.   └─future.apply::future_lapply(...)
    5.     └─future.apply:::future_xapply(...)
    6.       ├─future::value(fs)
    7.       └─future:::value.list(fs)
    8.         ├─future::resolve(...)
    9.         └─future:::resolve.list(...)
   10.           └─future:::signalConditionsASAP(obj, resignal = FALSE, pos = ii)
   11.             └─future:::signalConditions(...)
  ── Error (test_single_step.R:10:3): single-step surv ───────────────────────────
  Error: Dependency of 'cdf len x' failed.
  Backtrace:
       █
    1. ├─learner$predict_newdata(task = train_task, newdata = newdata) test_single_step.R:10:2
    2. │ └─mlr3:::.__Learner__predict_newdata(...)
    3. │   └─self$predict(task)
    4. │     └─mlr3:::.__Learner__predict(...)
    5. │       └─mlr3:::learner_predict(self, task, row_ids)
    6. │         └─mlr3misc::encapsulate(...)
    7. │           ├─mlr3misc::invoke(...)
    8. │           │ └─base::eval.parent(expr, n = 1L)
    9. │           │   └─base::eval(expr, p)
   10. │           │     └─base::eval(expr, p)
   11. │           └─mlr3:::.f(task = <environment>, learner = <environment>)
   12. │             └─get_private(learner)$.predict(task)
   13. │               └─mlr3proba:::.__LearnerSurvKaplan__.predict(...)
   14. │                 └─mlr3proba::.surv_return(times = times, surv = surv)
   15. │                   └─distr6::VectorDistribution$new(...)
   16. │                     └─distr6:::initialize(...)
   17. └─(function (x) ...
   18.   └─param6:::.ParameterSet__values(self, private, x)
   19.     └─param6:::.check(...)
   20.       └─param6:::.check_deps(...)
   21.         └─param6:::.return_fail(msg = msg, error_on_fail)
  
  [ FAIL 28 | WARN 0 | SKIP 2 | PASS 666 ]
  Error: Test failures
  Execution halted