repos_upload: Upload a Package to a Local CRAN-like Repository

View source: R/cranlike-repositories.R

repos_uploadR Documentation

Upload a Package to a Local CRAN-like Repository

Description

Upload a Package to a Local CRAN-like Repository

Usage

repos_upload(package, to, ...)

Arguments

package

Path to a package tarball. The tarball should be created by R CMD build; alternatively, it can be the path to a folder containing the source code for a package (which will then be built with R CMD build) and then uploaded to the local repository.

to

The name of the CRAN-like repository. It (currently) must be a local (on-disk) CRAN repository.

...

Optional arguments passed to R CMD build.


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