Set Project Version
projr_version_set.Rd
Sets the project version manually in the DESCRIPTION
file and optionally in a VERSION
file.
This is useful in cases where you need to increment the version manually, for example,
if a collaborator has pushed changes and you want to manually set your version before merging.
Arguments
- version
A character string specifying the version to set. It may include a development component (e.g., "1.2.3-dev") or just the stable version (e.g., "1.2.3").
- only_if_exists
A logical flag indicating whether to update the
VERSION
file only if it already exists (TRUE
) or to create it if it doesn't exist (FALSE
). Defaults toTRUE
.