Nothing
test_that("primary argument", {
normal <- survival_reg(dist = "lnorm")
expect_snapshot(normal)
expect_equal(
normal$args,
list(dist = rlang::quo("lnorm"))
)
dist_v <- survival_reg(dist = tune())
expect_snapshot(dist_v)
expect_equal(
dist_v$args,
list(dist = rlang::quo(tune()))
)
})
test_that("updating", {
expect_snapshot(
survival_reg() %>%
update(dist = "lnorm")
)
})
test_that("bad input", {
expect_error(survival_reg(mode = ", classification"))
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.