Skip to content

Commit

Permalink
fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
bblodfon committed Dec 13, 2023
1 parent 2439695 commit 25a0fd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test_flexsurv_surv_flexible.R
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ test_that("manualtest", {
p$lp[1:20],
summary(learn$model,
task$data(cols = task$feature_names),
se = F, ci = F, type = "link", tidy = T)[1:20, 2]
se = FALSE, ci = FALSE, type = "link", tidy = TRUE)[1:20, 2]
)
expect_equal(
p$distr[2]$survival(1:23),
summary(learn$model,
task$data(cols = task$feature_names),
se = F, ci = F, type = "survival", tidy = T, t = 1:23)[24:46, 2],
se = FALSE, ci = FALSE, type = "survival", tidy = TRUE, t = 1:23)[24:46, 2],
tolerance = 0.0001
)
})
Expand Down

0 comments on commit 25a0fd1

Please sign in to comment.