.onLoad <- function(libname, pkgname) {
doFuture:: registerDoFuture()
future::plan(future::multiprocess(workers = future::availableCores()))
ggplot2::theme_set(ggplot2::theme_light() %+replace%
theme(panel.background = element_blank(),
panel.grid.minor = element_blank(),
axis.text.x = element_text(angle = 90, hjust = 1),
strip.text = element_text(size = 6, colour = "white", face = 'bold')))
options(dplyr.width = 200)
options(future.globals.maxSize=100E9)
options(width=200)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.