context("Errors")
test_that("Arguments must be named", {
expect_error(
set_config("foo" = "bar", "foobar"),
"Some parameters are not named"
)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.