R/zzz.R

Defines functions .onUnload .onLoad .onAttach

.onAttach <- function(libname, pkgname) {
    packageStartupMessage(
        paste("\nThis is xcms version", packageVersion("xcms"), "\n"))
}

.onLoad <- function(libname, pkgname) {
    # require(methods)
    .setXCMSOptions(pkgname)
}

.onUnload <- function(libpath) {
    ## mzR:::rampCloseAll()  # Makes only sense if we used ramp.
    library.dynam.unload("xcms", libpath)
}

Try the xcms package in your browser

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

xcms documentation built on Nov. 8, 2020, 5:13 p.m.