# Error handler that suppresses messages while returning errors and warnings
# Intended for use with url.exists()
message_error_handler <-
function(func) {
suppressMessages(tryCatch({
func
}, warning = function(w) {
return(w)
}, error = function(e) {
return(e)
}))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.