#' Is the element of class "try-error"?
#'
#' @param .x the object to test
#'
#' @return A logical
#' @export
#'
#' @examples
#' x <- attempt(log("a"), silent = TRUE)
#' is_try_error(x)
#'
is_try_error <- function(.x) {
inherits(.x, "try-error")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.