#' Run ye code with salty error messages
#' @export
walk_the_plank <- function(code) {
tryCatch(code,
error = function(err) {
err$message <- arrr(err$message)
stop(err)
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.