devtools (version 2.0.0)

install_dev_deps: Install package dependencies if needed.

Description

Install package dependencies if needed.

Usage

install_dev_deps(pkg = ".", upgrade = "ask", ...)

Arguments

pkg

package description, can be path or package name. See as.package() for more information

upgrade

One of "ask", "always" or "never". "ask" prompts the user for which out of date packages to upgrade. For non-interactive sessions "ask" is equivalent to "always". TRUE and FALSE are also accepted and correspond to "always" and "never" respectively.

...

additional arguments passed to utils::install.packages().

Examples

Run this code
# NOT RUN {
install_deps(".")
# }

Run the code above in your browser using DataLab