repos_create: Create a Local, CRAN-like Repository

View source: R/cranlike-repositories.R

repos_createR Documentation

Create a Local, CRAN-like Repository

Description

Generate a local CRAN-like repository which can be used to store and distribute R packages.

Usage

repos_create(path, name = basename(path), add = TRUE)

Arguments

path

Path to a local CRAN-like repository.

name

The name to assign to the repository. Defaults to the directory name in which the reopsitory is created.

add

Add this new repository to the current set of repositories?


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