add_missing_version: Add a single missing version of a package to the GitHub...

View source: R/add-package.R

add_missing_versionR Documentation

Add a single missing version of a package to the GitHub mirror

Description

It assumes that the package's repository exists on GitHub, and that the working directory contains a clone of of it.

Usage

add_missing_version(package, version, date)

Arguments

package

Name of the package to update.

version

Character scalar, the version to add.

date

The exact date and time the version was built for CRAN.

Details

It then downloads the specified version from CRAN and adds it to the local clone. Finally, it pushes the repo to GitHub.

Value

The package's metadata, i.e. the contents of the DESCRIPTION file, in a desciption object, see the description package.


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