Running ‘testthat.R’ [152s/198s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mlr3proba)
  > 
  > test_check("mlr3proba")
  ── 1. Error: c (@test_PredictionSurv.R#37)  ────────────────────────────────────
  from glmnet Fortran code (error code 10000); All penalty factors are <= 0
  Backtrace:
    1. mlr3::resample(task, lrn, resampling)
    2. base::lapply(...)
    3. mlr3:::FUN(X[[i]], ...)
    4. mlr3:::learner_train(learner$clone(), task, sets[["train"]])
    5. mlr3misc::encapsulate(...)
   10. mlr3:::.f(learner = <environment>, task = <environment>)
   11. learner$train_internal(task = task)
   16. glmnet::glmnet(x = x, y = target, family = "cox")
   17. glmnet:::coxnet(...)
  
  ── 2. Failure: manualtest (@test_mlr_learners_surv_coxph.R#26)  ────────────────
  as.numeric(rr$cumhazard) not equal to p$distr[1]$cumHazard(90:95).
  6/6 mismatches (average diff: NaN)
  [1] NaN - 0.253 == NaN
  [2] NaN - 0.253 == NaN
  [3] NaN - 0.265 == NaN
  [4] NaN - 0.265 == NaN
  [5] NaN - 0.279 == NaN
  [6] NaN - 0.279 == NaN
  
  ── 3. Failure: manualtest (@test_mlr_learners_surv_coxph.R#27)  ────────────────
  as.numeric(rr$survival) not equal to p$distr[1]$survival(90:95).
  6/6 mismatches (average diff: NaN)
  [1] NaN - 0.776 == NaN
  [2] NaN - 0.776 == NaN
  [3] NaN - 0.767 == NaN
  [4] NaN - 0.767 == NaN
  [5] NaN - 0.757 == NaN
  [6] NaN - 0.757 == NaN
  
  ── 4. Failure: autotest (@test_mlr_learners_surv_cvglmnet.R#7)  ────────────────
  `result` isn't true.
  [train()] learner 'surv.cvglmnet:lp' on task 'feat_single_integer' failed: train log has errors: from glmnet Fortran code (error code 10000); All penalty factors are <= 0
  
  ── 6. Error: ctrl.pars (@test_mlr_learners_surv_cvglmnet.R#10)  ────────────────
  invalid 'n' value
  Backtrace:
    1. testthat::expect_silent(expect_prediction_surv(learner$train(task)$predict(task)))
   12. learner$train(task)
   13. mlr3:::learner_train(self, task, row_ids)
   14. mlr3misc::encapsulate(...)
   19. mlr3:::.f(learner = <environment>, task = <environment>)
   20. learner$train_internal(task = task)
   21. mlr3misc::invoke(...)
   22. base::eval.parent(expr, n = 1L)
   23. base::parent.frame(n + 1)
  
  ── 7. Failure: autotest (@test_mlr_learners_surv_glmnet.R#7)  ──────────────────
  `result` isn't true.
  [train()] learner 'surv.glmnet:lp' on task 'feat_single_integer' failed: train log has errors: from glmnet Fortran code (error code 10000); All penalty factors are <= 0
  
  ── 9. Error: ctrl.pars (@test_mlr_learners_surv_glmnet.R#10)  ──────────────────
  invalid 'n' value
  Backtrace:
    1. testthat::expect_silent(expect_prediction_surv(learner$train(task)$predict(task)))
   12. learner$train(task)
   13. mlr3:::learner_train(self, task, row_ids)
   14. mlr3misc::encapsulate(...)
   19. mlr3:::.f(learner = <environment>, task = <environment>)
   20. learner$train_internal(task = task)
   21. mlr3misc::invoke(...)
   22. base::eval.parent(expr, n = 1L)
   23. base::parent.frame(n + 1)
  
  ── 11. Error: PipeOpCrankCompositor - assertions (@test_pipeop_crankcompositor.R
  width must be a count (length 1 non-negative integer)
  Backtrace:
    1. testthat::expect_error(...)
    9. testthat:::register_expectation(e, 6)
   10. get_reporter()$add_result(...)
   11. testthat:::o_apply(...)
   12. base::lapply(objects, function(x) x[[method]](...))
   13. testthat:::FUN(X[[i]], ...)
   14. x[[method]](...)
   18. testthat:::failure_summary(result, self$n_fail)
   20. cli::rule(header, col = testthat_style("error"))
   21. assertthat::assert_that(...)
  
  ── 12. Error: PipeOpDistrCompositor - assertions (@test_pipeop_distrcompositor.R
  from glmnet Fortran code (error code 10000); All penalty factors are <= 0
  Backtrace:
    1. lrn("surv.glmnet")$train(task)
    2. mlr3:::learner_train(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(learner = <environment>, task = <environment>)
    9. learner$train_internal(task = task)
   14. glmnet::glmnet(x = x, y = target, family = "cox")
   15. glmnet:::coxnet(...)
  
  ── 13. Error: no params (@test_pipeop_distrcompositor.R#42)  ───────────────────
  from glmnet Fortran code (error code 10000); All penalty factors are <= 0
  Backtrace:
    1. lrn("surv.glmnet")$train(task)
    2. mlr3:::learner_train(self, task, row_ids)
    3. mlr3misc::encapsulate(...)
    8. mlr3:::.f(learner = <environment>, task = <environment>)
    9. learner$train_internal(task = task)
   14. glmnet::glmnet(x = x, y = target, family = "cox")
   15. glmnet:::coxnet(...)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 1110 | SKIPPED: 0 | WARNINGS: 3 | FAILED: 13 ]
  1. Error: c (@test_PredictionSurv.R#37) 
  2. Failure: manualtest (@test_mlr_learners_surv_coxph.R#26) 
  3. Failure: manualtest (@test_mlr_learners_surv_coxph.R#27) 
  4. Failure: autotest (@test_mlr_learners_surv_cvglmnet.R#7) 
  5. Error: ctrl.pars (@test_mlr_learners_surv_cvglmnet.R#14) 
  6. Error: ctrl.pars (@test_mlr_learners_surv_cvglmnet.R#10) 
  7. Failure: autotest (@test_mlr_learners_surv_glmnet.R#7) 
  8. Error: ctrl.pars (@test_mlr_learners_surv_glmnet.R#14) 
  9. Error: ctrl.pars (@test_mlr_learners_surv_glmnet.R#10) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted