.onLoad <- function(libname, pkgname) {
gpatterns.set_parallel(parallel::detectCores() / 2)
ggplot2::theme_set(ggplot2::theme_bw(base_size = 15))
ggplot2::theme_update(axis.text.x = element_text(angle = 90, hjust = 1, vjust=0.5))
if (!exists('.gpwm_cache__', envir=globalenv())) {
.gpwm_cache__ <<- new.env()
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.