bump-RPackageVersion.S3-character-character-method: Bump Package Version Number

Description Usage Arguments Value Author(s) References See Also Examples

Description

See generic: bump

Usage

1
2
3
4
## S4 method for signature 'RPackageVersion.S3,character,character'
bump(what, from, to,
  desc_fields = list(Date = NULL), taken = character(),
  sys_state = bumpr::SystemState.S3(), ...)

Arguments

what

RPackageVersion.S3.

from

character.

to

character.

desc_fields

list. Additional fields (besides Version) in DESCRIPTION file that should be updated with a version number bump. Specified as name-value pairs.

taken

character. Version numbers that are already taken. Usually, these are the Git tags that correspond to release versions. If used in combination with bump-Bumpr-Git.S3-character-character-method, this information is automatically retrieved.

...

Further arguments to be passed to subsequent functions/methods.

Value

list. (old and new version number or list() if the function exited before completing the bump.

Author(s)

Janko Thyson janko.thyson@gmail.com

References

http://github.com/jankothyson/bumpr

See Also

bump

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
## Not run: 

##------------------------------------------------------------------------------
## DISCLAIMER  
##------------------------------------------------------------------------------

## Please that with repositories that are not crucial for your productive work!

## Make sure that you set your working directory to your package
## project's root directory and that you've read and understood the 
## assumptions that this function makes!
    
bump(what = bumpr::RPackageVersion.S3())
bump(what = bumpr::GitVersion.S3())


## End(Not run)

rappster/bumpr documentation built on May 26, 2019, 11:09 p.m.