nowarn_on_ci <- function(expr, ...) {
if (isTRUE(as.logical(Sys.getenv("CI")))) {
suppressWarnings(expr, ...)
} else {
expr
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.