Package 'multitools'

Title: Tools for Contributing Packages to R-multiverse
Description: 'R-multiverse' is a community-curated collection of R package releases, powered by 'R-universe'. The 'multitools' package has tools for maintainers of packages in 'R-multiverse'.
Authors: William Michael Landau [aut, cre] , Charlie Gao [aut] , LluĂ­s Revilla Sancho [aut, cph] , Eli Lilly and Company [cph], Hibiki AI Limited [cph]
Maintainer: William Michael Landau <[email protected]>
License: MIT + file LICENSE
Version: 0.1.1
Built: 2024-10-31 20:17:38 UTC
Source: https://github.com/r-multiverse/multitools

Help Index


multitools: Tools for Contributing Packages to R-multiverse

Description

R-multiverse is a community-curated collection of R package releases, powered by R-universe. The multitools package has tools for maintainers of packages in R-multiverse.


Check package version etiquette.

Description

Check the etiquette of versions of packages in R-multiverse.

Usage

check_versions()

Details

It is good practice to increment the version number of a package on every new release. check_versions() list the packages that have chosen to decrement the version number or keep it the same over the course of the release cycle. To fix the version number of an R-multiverse package that you maintain, create a new GitHub/GitLab release whose version number in the DESCRIPTION file is higher than the one in the version_highest column in the output of check_versions().

Value

A tibble with one row per package and the following columns:

  • package: name of the package.

  • version_current: version number of the latest package release.

  • version_highest: highest version number across all the releases created since the package was registered with R-multiverse.

  • hash_current: the RemoteSha of the release corresponding to version_current.

  • hash_highest: the RemoteSha of the release corresponding to version_highest.

Examples

if (identical(Sys.getenv("MULTITOOLS_EXAMPLES"), "true")) {
    check_versions()
  }