Nothing
testthat::test_that("control_logistic works with customized parameters", {
result <- control_logistic(
conf_level = 0.9,
response_definition = "response == 'bla'"
)
res <- testthat::expect_silent(result)
testthat::expect_snapshot(res)
})
testthat::test_that("control_logistic fails wrong inputs", {
testthat::expect_error(control_logistic(response_definition = "rsp"))
testthat::expect_error(control_logistic(conf_level = 95))
})
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.