#' @seealso \url{https://github.com/hrbrmstr/hrbrthemes/blob/master/R/zzz.r}
.onAttach <- function(libname, pkgname) {
if (.Platform$OS.type == 'windows') { # nocov start
if (interactive()) {
packageStartupMessage('Registering Windows fonts with R')
}
extrafont::loadfonts('win', quiet = TRUE)
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.