testthat::local_reproducible_output()
withCallingHandlers(
error = function(cnd) rlang::entrace(cnd),
evaluate::evaluate(
function() {
f <- function() g()
g <- function() h()
h <- function() stop("!")
f()
},
stop_on_error = 2L
)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.