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 the etiquette of versions of packages in R-multiverse.
check_versions()
check_versions()
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()
.
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
.
if (identical(Sys.getenv("MULTITOOLS_EXAMPLES"), "true")) { check_versions() }
if (identical(Sys.getenv("MULTITOOLS_EXAMPLES"), "true")) { check_versions() }