add_missing_versions: Add some (or all) versions of a package to the GitHub mirror

View source: R/add-package.R

add_missing_versionsR Documentation

Add some (or all) versions of a package to the GitHub mirror

Description

Add some (or all) versions of a package to the GitHub mirror

Usage

add_missing_versions(package, versions, new_package, timeline, reset)

Arguments

package

Name of the package

versions

Character vector, package versions to add.

new_package

Logical scalar, whether the package is new. If the package is new, then its repo does not exists (yet) on GitHub.

timeline

The full timeline of the package, from crandb, a two column data frame, with columns "version" and "date".

reset

Whether to remove and re-add all the commits. This is useful for commit errors, e.g. an older version of cranatgh failed to remove files from the repo that were deleted in the new package versions.


metacran/cranatgh documentation built on Feb. 11, 2024, 2:20 p.m.