Nothing
test_that("quiet supresses output", {
expect_output(quiet(print("Hello")), NA)
})
test_that("Package message prints on load", {
rlang::local_interactive(value = TRUE)
expect_snapshot(biometryassist:::.onAttach(pkg = "biometryassist"))
})
test_that("Output prints if crayon is not installed", {
rlang::local_interactive(value = TRUE)
local_mocked_bindings(is_installed = function(...) FALSE)
expect_output(print(biometryassist:::.onAttach(pkg = "biometryassist")))
})
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.