Description Usage Arguments Value Author(s) Examples
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.
1 2 |
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 install
function from the BiocManager
package.
Florian Hahne
1 2 3 4 5 6 | ## Not run:
if (!requireNamespace("BiocManager", quietly = TRUE))
install.packages("BiocManager")
BiocManager::install(packages2install())
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.