not_missing <- function(x) {
!missing(x)
}
on_failure(not_missing) <- function(call, env) {
paste0(deparse(call$x), " is missing")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.