Learn R Programming

xfun (version 0.48)

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)

Value

A vector of new version numbers.

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().

Examples

Run this code
xfun::bump_version(c("0.1", "91.2.14"))

Run the code above in your browser using DataLab