install_local: Install a Package from a Local Repository

View source: R/install-local.R

install_localR Documentation

Install a Package from a Local Repository

Description

This function can be used to install a package from a local 'repository'; i.e., a directory containing package tarballs and sources.

Usage

install_local(pkgs, ..., lib = .libPaths()[1], repos = get_opts("local.repos"))

Arguments

pkgs

A character vector of package names.

...

Optional arguments passed to install.

lib

The library in which the package should be installed.

repos

The local repositories to search for the package names specified.


rstudio/packrat documentation built on Feb. 5, 2024, 9:17 p.m.