test_that("assignArgumentDefaults() works", {
f <- kwb.utils::assignArgumentDefaults
expect_error(f())
f(kwb.utils::collapsed)
expect_true("collapse" %in% ls(envir = .GlobalEnv))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.