R/zzz.R

Defines functions .onUnload .onAttach

.onAttach <- function(libname, pkgname) {
    version <- read.dcf(file = system.file("DESCRIPTION", package = pkgname), fields = "Version")
    packageStartupMessage("This is ", paste(pkgname, version))
    packageStartupMessage(pkgname, " is BETA software! Please report any bugs.")
}

.onUnload <- function(libpath) {
    library.dynam.unload("lavacreg", libpath)
}

Try the lavacreg package in your browser

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

lavacreg documentation built on June 22, 2024, 9:20 a.m.