Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

bump_version

Bump version numbers


Description

Increase the last digit of version numbers, e.g., from 0.1 to 0.2, or 7.23.9 to 7.23.10.

Usage

bump_version(x)

Arguments

x

A vector of version numbers (of the class "numeric_version"), or values that can be coerced to version numbers via as.numeric_version().

Value

A vector of new version numbers.

Examples

xfun::bump_version(c("0.1", "91.2.14"))

xfun

Miscellaneous Functions to Support Packages Maintained by 'Yihui Xie'

v0.22
MIT + file LICENSE
Authors
Yihui Xie [aut, cre, cph] (<https://orcid.org/0000-0003-0645-5666>), Wush Wu [ctb], Daijiang Li [ctb], Xianying Tan [ctb], Salim Brüggemann [ctb] (<https://orcid.org/0000-0002-5329-5987>), Christophe Dervieux [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.