R/zzz.R

Defines functions .onAttach version

## File Name: zzz.R
## File Version: 0.15
#  zzz.R
#
# This function is simply copied from mice package.

version <- function(pkg="miceadds")
{
    lib <- dirname(system.file(package=pkg))
    d <- utils::packageDescription(pkg)
    return(paste(d$Package,d$Version,d$Date,lib))
}

# on attach TAM
.onAttach <- function(libname,pkgname)
{
    d <- utils::packageDescription("miceadds")
    packageStartupMessage(
            paste0( "* ", d$Package," ", d$Version," (",d$Date,")")
    )
}

Try the miceadds package in your browser

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

miceadds documentation built on May 29, 2024, 11:05 a.m.