Nothing
PKG_INFO <- rlang::env(version = NULL)
getPackageVersion <- function(pkgname) {
tryCatch({
read.dcf(file = system.file("DESCRIPTION", package = pkgname),
fields = "Version")
}, error = function(e) {
warning2("Failed to get package version")
"??" # replace this with a hard-coded value?
})
}
.onLoad <- function(libname, pkgname) {
PKG_INFO$version <- getPackageVersion(pkgname)
}
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.