Supports Bioconductor, CRAN, and GitHub packages via BiocManager.

updateDeps(
  pkg = getwd(),
  type = c("Depends", "Imports", "LinkingTo", "Suggests", "Enhances")
)

Arguments

pkg

character(1). Package path. Must contain a DESCRIPTION file.

type

character. Dependency type. See utils::install.packages() for details.

Value

BiocManager::install() call if packages need an update.

Details

This is used by r-cmd-check for continuous integration (CI) testing.

Note

Updated 2020-10-20.

See also