capture_error_msg <- function(expr) { cat(rlang::catch_cnd(expr, classes = "error")$message, "\n", sep="") }
Add the following code to your website.
REMOVE THIS Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.