test_that(
"check_dots works",
{
expect_error(
check_dots(.dots = list(a=1), valid_args = 'c'),
regexp = 'unrecognized: a'
)
}
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.