Title: | Increment version numbers in package files |
---|---|
Description: | Increment package version numbers in the R Description file, package.json, and any use_* files located in the R directory. The primary function `update_pkg_version` is currently suited for Shiny package development, but will be updated in the future. |
Authors: | David Ruvolo [aut, cre] |
Maintainer: | David Ruvolo <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.0.3 |
Built: | 2024-11-09 03:52:06 UTC |
Source: | https://github.com/davidruvolo51/pkgbump |
Auto-increment package version number for across tracked package files.
This was originally intented to update version numbers in the DESCRIPTION,
package.json, and use_*.R files. Use the function set_pkgbump
to define
which files should be mananaged by pkgbump.
pkgbump(version)
pkgbump(version)
version |
version number to write |
Update package version number in tracked files
## Not run: pkgbump(version = "1.0.0") ## End(Not run)
## Not run: pkgbump(version = "1.0.0") ## End(Not run)
Use this function to define the files that should be incremented. Use
the argument patterns
to define custom search patterns. Files that are
supported by this package are .json, .R, and R package files (i.e.,
DESCRIPTION).
set_pkgbump(files, r_patterns = NULL)
set_pkgbump(files, r_patterns = NULL)
files |
an array of full file paths |
r_patterns |
a string containing search patterns for R files (optional) |
## Not run: set_pkgbump(files = c("package.json", "DESCRIPTION")) ## End(Not run)
## Not run: set_pkgbump(files = c("package.json", "DESCRIPTION")) ## End(Not run)