test_that("check_null", { expect_null(check_null(NULL)) expect_error(check_null(1), "^1 must be NULL$") })
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.