Debian Codegraph @

man/bump_version.Rd

raw
1 % Generated by roxygen2: do not edit by hand
2 % Please edit documentation in R/string.R
3 \name{bump_version}
4 \alias{bump_version}
5 \title{Bump version numbers}
6 \usage{
7 bump_version(x)
8 }
9 \arguments{
10 \item{x}{A vector of version numbers (of the class \code{"numeric_version"}),
11 or values that can be coerced to version numbers via
12 \code{as.numeric_version()}.}
13 }
14 \value{
15 A vector of new version numbers.
16 }
17 \description{
18 Increase the last digit of version numbers, e.g., from \code{0.1} to
19 \code{0.2}, or \verb{7.23.9} to \verb{7.23.10}.
20 }
21 \examples{
22 xfun::bump_version(c("0.1", "91.2.14"))
23 }