Upload a Package to a Local CRAN-like Repository
repos_upload(package, to, ...)
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.
The name of the CRAN-like repository. It (currently) must be a local (on-disk) CRAN repository.
Optional arguments passed to R CMD build
.