Package 'pkgbump'

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

Help Index


Update Package Version Number

Description

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.

Usage

pkgbump(version)

Arguments

version

version number to write

Value

Update package version number in tracked files

Examples

## Not run: 
  pkgbump(version = "1.0.0")

## End(Not run)

Set Package Files to Manage

Description

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).

Usage

set_pkgbump(files, r_patterns = NULL)

Arguments

files

an array of full file paths

r_patterns

a string containing search patterns for R files (optional)

Examples

## Not run: 
set_pkgbump(files = c("package.json", "DESCRIPTION"))

## End(Not run)