use_version() increments the "Version" field in DESCRIPTION,
adds a new heading to NEWS.md (if it exists), and commits those changes
(if package uses Git).
use_dev_version() increments to a development version, e.g.
from 1.0.0 to 1.0.0.9000. If the existing version is already a development
version with four components, it does nothing. Thin wrapper around
use_version().
use_version(which = NULL) use_dev_version()
| which | A string specifying which level to increment, one of: "major",
"minor", "patch", "dev". If |
|---|
The version section of R Packages.
if (FALSE) { ## for interactive selection, do this: use_version() ## request a specific type of increment use_version("minor") use_dev_version() }