R/zzz.R

Defines functions .onLoad

#' @importFrom commonMZ MZ_CAMERA
#'
#' @noRd
.onLoad <- function(libname, pkgname) {
    dta <- as.data.frame(rbind(commonMZ::MZ_CAMERA("pos", warn_clash = FALSE),
                               commonMZ::MZ_CAMERA("neg", warn_clash = FALSE)))
    assign("ADDUCTS", dta, envir = asNamespace(pkgname))
}
michaelwitting/CompoundDb documentation built on April 29, 2020, 8:42 p.m.