Nothing
test_that("plot.betadanish runs without errors", {
set.seed(123)
dat <- data.frame(time = rbetadanish(30, 1.2, 1.5, 2, 0.5), status = 1)
fit <- fit_betadanish(survival::Surv(time, status) ~ 1, data = dat, n_starts = 1)
# Suppress plot output during testing
grDevices::pdf(NULL)
on.exit(grDevices::dev.off())
expect_silent(plot(fit, type = "survival"))
expect_silent(plot(fit, type = "hazard"))
expect_silent(plot(fit, type = "all"))
})
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.