install_deps

0th

Percentile

Install package dependencies if needed.

Install package dependencies if needed.

Usage
install_deps(pkgdir = ".", dependencies = NA, threads = getOption("Ncpus",
  1), repos = getOption("repos"), type = getOption("pkgType"), ...,
  upgrade = TRUE, quiet = FALSE)
Arguments
pkgdir

path to a package directory.

dependencies

Which dependencies do you want to check? Can be a character vector (selecting from "Depends", "Imports", "LinkingTo", "Suggests", or "Enhances"), or a logical vector.

TRUE is shorthand for "Depends", "Imports", "LinkingTo" and "Suggests". NA is shorthand for "Depends", "Imports" and "LinkingTo" and is the default. FALSE is shorthand for no dependencies (i.e. just check this package, not its dependencies).

threads

Number of threads to start, passed to install.packages as Ncpus.

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, suppress output.

Aliases
  • install_deps
Examples
# NOT RUN {
install_deps(".")
# }
Documentation reproduced from package remotes, version 1.0.0, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.