requiredPackages {BiocCaseStudies}R Documentation

check for missing and outdated packages

Description

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.

Usage

requiredPackages(load=FALSE)
packages2install()

Arguments

load Logical. Should all packages be loaded?

Value

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.

Author(s)

Florian Hahne

Examples

  ## Not run: 
    biocLite(packages2install())
  
## End(Not run)

[Package BiocCaseStudies version 1.4.0 Index]