tsd_package_install: Install package on TSD from archive

View source: R/tsd_package.R

tsd_package_installR Documentation

Install package on TSD from archive

Description

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

Usage

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

## Not run: 
# prepare a package first
tsd_package_prepare("devtools")

tsd_package_install("devtools.zip")

## End(Not run)

LCBC-UiO/tsdrtools documentation built on June 22, 2022, 8:21 p.m.