suppress_msg <- function(expr, pattern = c("reserved SQL", "not overwriting")){
withCallingHandlers(expr,
message = function(e){
if(any(vapply(pattern, grepl, logical(1), e$message)))
invokeRestart("muffleMessage")
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.