powered by
Given a current package version, compute the potential next patch, minor, and major versions following semantic versioning rules.
get_different_future_version(version_number, verbose = TRUE)
A named character vector with:
current_version – the input version,
current_version
future_patch_version – next patch version,
future_patch_version
future_minor_version – next minor version,
future_minor_version
future_major_version – next major version.
future_major_version
[character] Current version number string (e.g. "1.2.3").
"1.2.3"
[logical] Whether to print current and new remote fields (default: TRUE).
TRUE
get_different_future_version("1.2.3")
Run the code above in your browser using DataLab