R/setup.R

Defines functions .onLoad

.onLoad = function(libname, pkgname) {
  biocPkgs = c("viper", "AnnotationDbi", "org.Hs.eg.db")
  for (pkg in biocPkgs) {
    if (!requireNamespace(pkg, quietly = TRUE)) {
      stop(paste(
        "Package '", pkg,
        "' could not be loaded. \n
                     Please install it from Bioconductor\n
                     install.packages(\"BiocManager\")\n
                     BiocManager::install(", pkg, ")"
      ),
      call. = FALSE
      )
    }
  }
}

Try the ingres package in your browser

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

ingres documentation built on Sept. 14, 2022, 9:05 a.m.