Description Usage Arguments Details Author(s)
View source: R/increment_version_numbers.r
Reads DESCRIPTION from installed package 'pkg' and makes a new one in the specified 'folder'. Four options for 'increase' are "major", minor", "patch" and "dev" respectively incrementing the first to fourth element of version 0.1.0.9012. Also changes the date to system date.
1 | incVer(pkg, folder = ".", increase = "dev")
|
pkg |
A character vector with the name of the package to update. |
folder |
Folder in which DESCRIPTION is saved. Can be left as '.'. |
increase |
Character string, either 'major', 'minor', 'patch' or 'dev.' |
Function originally posted by alko989 here https://stackoverflow.com/q/24209336. Hadley Wickham discusses when and how increment version numbers in this book http://r-pkgs.had.co.nz/release.html#release-version
alko989, Alban Sagouis
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.