Nothing
install.on.demand <- function(pkg, quiet = FALSE, ...) {
# internal function that checks whether package pkg is
# in the library. If not found, it asks the user permission
# to install from CRAN.
if (requireNamespace(pkg, quietly = TRUE)) {
return()
}
if (interactive()) {
answer <- askYesNo(paste("Package", pkg, "needed. Install from CRAN?"))
if (answer) install.packages(pkg, repos = "https://cloud.r-project.org/", quiet = quiet)
}
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.