#' @title tryCatch2
#' @concept r_helper
#' @param expr
#'
#' @return
#' @export
#'
#' @examples
tryCatch2 <- function(expr) {
tryCatch({
expr
}, error = function(e) {
print(e)
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.