tests/testthat/test_surv_glmboost.R

context("surv.glmboost")

test_that("autotest", {
  learner = mlr_learners$get("surv.glmboost")
  expect_learner(learner)
  # weights are fine for all predict types except 'distr'
  result = run_autotest(learner, exclude = "weights", check_replicable = FALSE)
  expect_true(result, info = result$error)
})
mlr3learners/mlr3learners.mboost documentation built on Aug. 9, 2020, 10:47 p.m.