update_cran: Update local CRAN with the package

Description Usage Arguments

View source: R/update.R

Description

Import package files into a local CRAN and update the metadata. Check the README in the repo.

Usage

1
update_cran(package_file, cran_root, distro = "ubuntu/focal")

Arguments

package_file

The location of the package file in either tar.gz format (source/Linux), zip (Windows) or tgz (Mac).

cran_root

The folder containing the CRAN.

distro

Only relevant for binary Linux packages. The name of the Linux distribution compiling the package. The only restriction is that it should fit in a URL. As an example, ubuntu/focal is a permitted name.


robertdj/cranitor documentation built on March 25, 2021, 6:22 a.m.