
devtools::install_dev_deps with error and warning catching
installDepsWithWarnCatching.RdAdd an error and warning catching around devtools::install_dev_deps call.
Usage
installDepsWithWarnCatching(
doUpgrades = TRUE,
warningsAsErrors = FALSE,
instDevDeps = 1,
repo = "https://cloud.r-project.org"
)Arguments
- doUpgrades
TRUE to pass "always" to sub-function, this force upgrade of dependencies. FALSE to pass "never" to sub-function, dependencies will never be upgraded.
- warningsAsErrors
Boolean, TRUE to manage warnings and errors as errors. FALSE to manage only errors as errors.
- instDevDeps
1 (default) to install also development dependencies ("Suggests") other values to install only "Depends", "Imports" and "LinkingTo"
- repo
The repository used to download packages