Code
match_arg("a", ..force_empty_stack = TRUE)
Error <simpleError>
`"a"` has no formal default value.
Code
local_wrapper("d")
Error <simpleError>
`foo` must be equal to either "a", "b" or "c".
Code
match_arg()
Error <simpleError>
`` has no formal default value.
arg
contains more than 1 elementCode
local_wrapper(c("a", "b"))
Error <simpleError>
`foo` must be equal to either "a", "b" or "c".
error
when an error must be thrown if it is not nullCode
local_wrapper_custom_err("d")
Error <simpleError>
custom message
Output
o This is a custom todo.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.