Both $set_version()
and $bump_version()
use dots to
separate the version number components.
desc_set_version(version, file = ".", normalize = FALSE)
A string or a base::package_version object.
DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used.
Whether to "normalize" (reorder and reformat) the fields when writing back
the result. See desc_normalize()
.
Other version numbers:
desc_bump_version()
,
desc_get_version()