R/zzz.R

Defines functions onAttach

.onAttach <-
    function(libname, pkgname)
{
    msg <- paste0("variant_effect_predictor.pl or vep script not found. ",
                  "Ensembl VEP is not installed in your path.")
    tryCatch(check <- system2("perl", .getVepPath(),
        stdout=TRUE, stderr=TRUE),
        error=function(e) packageStartupMessage(msg))
}
Bioconductor/ensemblVEP documentation built on May 12, 2018, 12:55 a.m.