.onLoad <- function(libname, pkgname) {
op <- options()
op.ghpm <- list(
ghpm.scheme = "https",
ghpm.hostname = "api.github.com"
)
toset <- !(names(op.ghpm) %in% names(op))
if (any(toset)) options(op.ghpm[toset])
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.