repository-management: Add a Repository

Description Usage Arguments Details

Description

Add a repository to the set of currently available repositories. This is effectively an easier-to-use wrapper over interacting with the "repos" option, which is otherwise set with options(repos = ...).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11

Arguments

...

Named arguments of the form <repoName> = <pathToRepo>.

overwrite

Boolean; overwrite if a repository with the given name already exists?

names

The names of repositories (as exist in e.g. names(getOption("repos"))).

Details

repos_add_local is used for adding file-based repositories; that is, CRAN repositories that live locally on disk and not on the internet / local network.


packrat documentation built on March 30, 2021, 5:12 p.m.