requireAnnotation: Helper function to load packages.

Description Usage Arguments Value Author(s) See Also Examples

Description

This function checkes the existence of a given package and loads it if available. If the package is not available, the function checks its availability on BioConductor, downloads it and installs it.

Usage

1
requireAnnotation(pkgname, lib=.libPaths()[1], verbose = TRUE)

Arguments

pkgname

character. Package name (usually an annotation package).

lib

character. Path where to install packages at.

verbose

logical. Verbosity flag.

Value

Logical: TRUE if package is available or FALSE if package unavailable for download.

Author(s)

Benilton Carvalho

See Also

install.packages

Examples

1
2
3
4
## Not run: 
requirePackage("pd.mapping50k.xba240")

## End(Not run)

benilton/oligoClassesOld documentation built on May 12, 2019, 11:51 a.m.