.onAttach <- function(libname, pkgname) {
attach_recon_packages()
}
attach_recon_packages <- function() {
packages <- c("epicontacts", "outbreaks", "incidence")
for(pkg in packages) {
message("Attaching package ", pkg)
eval(substitute(suppressPackageStartupMessages(fun(x)),
list(x = pkg, fun = as.symbol("library"))))
}
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.