#' Error handling
#'
#' - options(error = rlang::entrace)
library(winch)
options(
error = rlang::entrace,
rlang_backtrace_on_error = "full",
rlang_trace_use_winch = TRUE
)
foo <- function() {
purrr::map(list(bar), winch_call) # winch_call(bar)
}
bar <- function() {
winch_stop("message")
}
foo()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.