test_func <- function(a = 1, b = 5) {
if(missing("a")) print('a is missing!') else print('a is not missing!')
# return(as.list(environment()))
}
test_func(a=1)
test_func(a = NULL)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.