Nothing
#' wb_pkg_base_packages
#'
#' @return character vector with packages already part of the R installation
#'
wb_pkg_base_packages <-
function(){
cache <- NULL
function(){
# fill cache?
if ( is.null(cache) ){
pkg_inst <-
as.data.frame(
utils::installed.packages(),
stringsAsFactors = FALSE
)
cache <<- pkg_inst[pkg_inst$Priority %in% c("base", "recommended"), "Package"]
}
# return cache
cache
}
}()
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.