R/zzz.R

Defines functions .onAttach .onLoad

.checkpoint <- new.env()

.onLoad <- function(libname, pkgname)
{
    .checkpoint$old_libpath <- .libPaths()
    .checkpoint$old_repos <- getOption("repos")
}

.onAttach <- function(libname, pkgname)
{
    msg <- paste(
        "",
        "checkpoint: Part of the Reproducible R Toolkit from Microsoft",
        "https://mran.microsoft.com/documents/rro/reproducibility/",
        sep="\n")
    packageStartupMessage(msg)
}

Try the checkpoint package in your browser

Any scripts or data that you put into this service are public.

checkpoint documentation built on Jan. 29, 2022, 1:07 a.m.