install_deps

0th

Percentile

Install package dependencies if needed.

Install package dependencies if needed.

Usage
install_deps(pkg = ".", dependencies = NA, threads = getOption("Ncpus",
  1), repos = getOption("repos"), type = getOption("pkgType"), ...,
  upgrade = TRUE, quiet = FALSE, force_deps = FALSE)
Arguments
pkg
package description, can be path or package name. See as.package for more information
dependencies
logical indicating to also install uninstalled packages which this pkg depends on/links to/suggests. See argument dependencies of install.packages.
threads
number of concurrent threads to use for installing dependencies. It defaults to the option "Ncpus" or 1 if unset.
repos
A character vector giving repositories to use.
type
Type of package to update. If "both", will switch automatically to "binary" to avoid interactive prompts during package installation.
...
additional arguments passed to install.packages.
upgrade
If TRUE, also upgrade any of out date dependencies.
quiet
if TRUE suppresses output from this function.
force_deps
whether to force installation of dependencies even if their SHA1 reference hasn't changed from the currently installed version.
Aliases
  • install_deps
Examples
install_deps(".")
Documentation reproduced from package devtools, version 1.11.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.