View source: R/check_version.R
check_version | R Documentation |
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 = NULL, path = ".")
repo |
Default origin/master or origin/main. 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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.