File: bump_version.Rd

package info (click to toggle)
r-cran-xfun 0.37%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 792 kB
  • sloc: ansic: 242; sh: 22; makefile: 2
file content (23 lines) | stat: -rw-r--r-- 587 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/string.R
\name{bump_version}
\alias{bump_version}
\title{Bump version numbers}
\usage{
bump_version(x)
}
\arguments{
\item{x}{A vector of version numbers (of the class \code{"numeric_version"}),
or values that can be coerced to version numbers via
\code{as.numeric_version()}.}
}
\value{
A vector of new version numbers.
}
\description{
Increase the last digit of version numbers, e.g., from \code{0.1} to
\code{0.2}, or \code{7.23.9} to \code{7.23.10}.
}
\examples{
xfun::bump_version(c("0.1", "91.2.14"))
}