install_deps
is used by install_*
to make sure you have
all the dependencies for a package. install_dev_deps()
is useful
if you have a source version of the package and want to be able to
develop with it: it installs all dependencies of the package, and it
also installs roxygen2.
install_deps(pkg = ".", dependencies = NA, threads = getOption("Ncpus",
1), repos = getOption("repos"), type = getOption("pkgType"), ...,
upgrade = TRUE, quiet = FALSE, force_deps = FALSE)install_dev_deps(pkg = ".", ...)
package description, can be path or package name. See
as.package
for more information
logical
indicating to also install uninstalled
packages which this pkg
depends on/links to/suggests. See
argument dependencies
of install.packages
.
number of concurrent threads to use for installing
dependencies.
It defaults to the option "Ncpus"
or 1
if unset.
A character vector giving repositories to use.
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
.
If TRUE
, also upgrade any of out date dependencies.
if TRUE
suppresses output from this function.
whether to force installation of dependencies even if their SHA1 reference hasn't changed from the currently installed version.
# NOT RUN {
install_deps(".")
# }
Run the code above in your browser using DataLab