bioc: A wrapper around the biocLite function, for the lazy

Description Usage Arguments Details Examples

View source: R/bioc.R

Description

This function will source the biocLite function from bioconductor website if necessary and will then launch biocLite.

Usage

1
bioc(pkg = NULL, force_source = FALSE, ask = FALSE)

Arguments

pkg

The name of the package to install. If NULL, the function will run biocLite() which will update all packages.

force_source

source the biocLite.R script even if a biocLite function is already available. Default: FALSE.

ask

Ask before updating a package. Default. FALSE

Details

biocLite script is sourced from http://www.bioconductor.org/biocLite.R

Examples

1
2
bioc() # To update all packages
bioc("metagene") # To install a Bioconductor's package

CharlesJB/bioc documentation built on May 6, 2019, 9:58 a.m.