which parameter specifies which component to increase.
It can be a string referring to a component:
dev, or an integer
scalar, for the latter components are counted from one, and the
beginning. I.e. component one is equivalent to
desc_bump_version(which, file = ".", normalize = FALSE)
Which component to increase. See details below.
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
If a component is bumped, then the ones after it are zeroed out. Trailing zero components are omitted from the new version number, but if the old version number had at least two or three components, then the one will also have two or three.
The bumping of the
dev version (the fourth component) is
special: if the original version number had less than four components,
dev version is bumped, then it is set to
1. This is a convention often used by R developers,
it was originally invented by Winston Chang.
$bump_version() use dots to
separate the version number components.
Other version numbers:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.