R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname, ...) {

  envBFCLoc <- Sys.getenv("TXIMETA_HUB_CACHE")
  if (envBFCLoc != "") {
    bfcLoc <- getTximetaBFC()
    if (is.null(bfcLoc) || envBFCLoc != bfcLoc) {
      setTximetaBFC(envBFCLoc, quiet=TRUE)
    }
  }
  
}

Try the tximeta package in your browser

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

tximeta documentation built on April 13, 2021, 6:01 p.m.