After downloading and preparing the packages for install outside of TSD using the tsd_package_prepare function, install said packages using this function.

tsd_package_install(
  zip_file,
  lib = .libPaths()[1],
  opts = "",
  verbose = TRUE,
  ...
)

Arguments

zip_file

path to zipped file

lib

library folder to install to

opts

optional arguments to `R CMD INSTALL`

verbose

logical. If function should be talkative.

...

additional arguments to functions install.packages

Value

vector of successful or failed package installs

Examples

if (FALSE) { # prepare a package first tsd_package_prepare("devtools") tsd_package_install("devtools.zip") }