options(
crayon.enabled = FALSE,
cli.unicode = FALSE
)
if (nzchar(Sys.getenv("rlang_interactive"))) {
options(rlang_interactive = TRUE)
}
f <- function() tryCatch(g())
g <- function() h()
h <- function() rlang::abort("Error message")
tryCatch(
f(),
error = function(cnd) rlang::cnd_signal(cnd)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.