Nothing
#' Is a package installed?
#' @param pkg Package name.
#' @returns Boolean. True if package is installed, false if not.
#' @examples
#' org::package_installed("data.table")
#' @export
package_installed <- function(pkg){
pkgs <- utils::installed.packages()[,"Package"]
return(pkg %in% pkgs)
}
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.