usePackage <- function(p) {
if (!is.element(p, installed.packages()[,1]))
# install.packages(p, dep = TRUE)
devtools::install_github("nik01010/dashboardthemes")
require(p, character.only = TRUE)
}
usePackage("dashboardthemes")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.