Skip to content

Commit

Permalink
Merge pull request #83 from mlr-org/fix_survival_learner_test
Browse files Browse the repository at this point in the history
fix surv learner test
  • Loading branch information
Raphael Sonabend authored Apr 9, 2021
2 parents 084f6ad + 496e0cf commit 331af55
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: mlr3extralearners
Title: Extra Learners For mlr3
Version: 0.4.3
Version: 0.4.4
Authors@R:
c(person(given = "Raphael",
family = "Sonabend",
Expand Down
Binary file modified R/sysdata.rda
Binary file not shown.
3 changes: 1 addition & 2 deletions tests/testthat/test_survival_surv_parametric.R
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ test_that("autotest po", {
expect_true(result, info = result$error)
})

data(lung, package = "survival")
lung2 = lung
lung2 = survival::lung
lung2$status = lung2$status - 1
lung2 = lung2[-14, c("time", "status", "ph.ecog")]
task = TaskSurv$new("param",
Expand Down

0 comments on commit 331af55

Please sign in to comment.