Nothing
testthat::test_that("control_step works with customized parameters", {
result <- control_step(biomarker = 1:10, use_percentile = FALSE)
res <- testthat::expect_silent(result)
testthat::expect_snapshot(res)
})
testthat::test_that("control_step fails wrong inputs", {
testthat::expect_error(control_step(biomarker = "5"))
testthat::expect_error(control_step(bandwidth = 0))
testthat::expect_error(control_step(num_points = 1))
})
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.