.onLoad <- function(libname, pkgname) {
if (system.file(package = "devtools") == "")
install.packages("devtools")
if (system.file(package = "qmjdata") == "") {
devtools::install_github("anttsou/qmjdata")
}
utils::globalVariables(c("desc", "year", "ticker"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.