check_version.Rd
Check if the package version has been updated compared to the a master repo (default is origin/master). This ensures that when branches are merged the package version is bumped.
check_version(repo = "origin/master", path = ".")
repo | Default origin/master. The repo to compare against. |
---|---|
path | Location of the package |
Files listed in .Rbuildignore don't count as changes.
Technically we only check for a change in the Version line of the DESCRIPTION file, not an actual version increase.