Nothing
.onAttach <-
function(libname, pkgname) {
ver <- read.dcf(file=system.file("DESCRIPTION", package=pkgname), fields="Version")
packageStartupMessage(" ")
packageStartupMessage(paste("This is", pkgname, ver))
packageStartupMessage(" ")
packageStartupMessage("Type changes(\"diezeit\") to see changes/bug fixes, help(diezeit) for documentation")
packageStartupMessage("or citation(\"diezeit\") for how to cite diezeit.")
packageStartupMessage(" ")
}
#' @title View changes notes.
#' @description \code{changes} brings up the NEWS file of the package.
#'
#' @param pkg Set to the default "diezeit". Other packages make no sense.
#' @export
#' @examples
#' \dontrun{
#' changes()
#' }
changes <-
function(pkg="diezeit") {
if(pkg=="diezeit") file.show(file.path(system.file(package="diezeit"), "NEWS"))
}
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.