.onLoad <- function(libname, pkgname) {
repos = getOption("repos")
repos["my_repo"] = "https://yiluheihei.github.io/datarepo"
options(repos = repos)
invisible(repos)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.