requiredPackages {BiocCaseStudies} | R Documentation |
Both functions compare the Depends
field of the
DESCRIPTION
of the BiocCaseStudies
package.
requiredPackages
is run before a build of the book. It throws
an error if there are any missing or outdated packages.
packages2install
returns a character vector of packages
that need (re)installing.
requiredPackages(load=FALSE) packages2install()
load |
Logical. Should all packages be loaded? |
requiredPackages
returns invisible(NULL)
.
The function is called for its side effects.
packages2install
returns a character vector that can be passed
to the biocLite
function from the biocLite.R
script.
Florian Hahne
## Not run: biocLite(packages2install()) ## End(Not run)