.onLoad <- function(libname, pkgname) {
update_geom_font_defaults()
}
.onAttach <- function(libname, pkgname) {
if (!lato_installed()) {
packageStartupMessage("Lato font is missing, please install it!")
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.