Check for alignment of package dependencies across Rplatform and package specifications.
Source:R/dependencies.R
checkDependencies.RdCheck the package depedency version specifications in the
rplatform/dependencies.yaml and DESCRIPTION.
Usage
checkDependencies(
dep_path,
desc_path,
skip_pkgs = "R",
combo_path = "/mnt/vol/dependencies_combo.yaml"
)Arguments
- dep_path
String of path to the rplatform
dependencies.yamlfile.- desc_path
String of the path to the package
DESCRIPTIONfile.- skip_pkgs
vector of packages from
DESCRIPTIONto skip; defaults toR- combo_path
String of path to the combo image
dependencies.yamlfile. Defaults to the current directory.
Examples
checkDependencies(
dep_path =
system.file(package = "gDRstyle", "testdata", "dependencies.yaml"),
desc_path = system.file(package = "gDRstyle", "DESCRIPTION"),
skip_pkgs = c("testthat", "lintr")
)