install_local {devtools} | R Documentation |
This function is vectorised so you can install multiple packages in a single command.
install_local(path, subdir = NULL, ..., quiet = FALSE)
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 |
quiet |
if |
## Not run: dir <- tempfile() dir.create(dir) pkg <- download.packages("testthat", dir, type = "source") install_local(pkg[, 2]) ## End(Not run)