#' Execute code silently
#'
#' @keywords internal
hush <- function(code) {
void <- utils::capture.output({
out <- invisible(
suppressMessages(
suppressWarnings(
tryCatch(code, error = function(e) NULL))
)
)
})
return(out)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.