install_local

0th

Percentile

Install a package from a local file

This function is vectorised so you can install multiple packages in a single command.

Usage
install_local(path, subdir = NULL, ..., quiet = FALSE)
Arguments
path

path to local directory, or compressed file (tar, zip, tar.gz tar.bz2, tgz2 or tbz)

subdir

subdirectory within url bundle that contains the R package.

...

Other arguments passed on to install.

quiet

if TRUE suppresses output from this function.

Aliases
  • install_local
Examples
# NOT RUN {
dir <- tempfile()
dir.create(dir)
pkg <- download.packages("testthat", dir, type = "source")
install_local(pkg[, 2])
# }
Documentation reproduced from package devtools, version 1.13.5, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.