Nothing
testthat::test_that("report_previewer_module throws error if label is not string", {
testthat::expect_error(
reporter_previewer_module(label = 5), "Assertion on 'label' failed: Must be of type 'string'"
)
testthat::expect_error(
reporter_previewer_module(label = c("A", "B")), "Assertion on 'label' failed: Must have length 1."
)
})
testthat::test_that("report_previewer_module throws no error and stores label if label is string", {
testthat::expect_no_error(r_p_m <- reporter_previewer_module(label = "My label"))
testthat::expect_equal(r_p_m$label, "My label")
})
testthat::test_that("report_previewer_module default label is Report previewer ", {
r_p_m <- reporter_previewer_module()
testthat::expect_equal(r_p_m$label, "Report previewer")
})
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.