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)
}
RevolutionAnalytics/checkpoint documentation built on Jan. 30, 2022, 7:04 a.m.