test_that("check_null", {
rlang::local_options(lifecycle_verbosity = "quiet")
expect_null(check_null(NULL))
expect_error(check_null(1), "^1 must be NULL$")
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.