use_git_check_version_not_tagged | R Documentation |
I sometimes forget to bump the package version of a tagged state in git, then committing git to that version. Nothing severe, but should be avoided. So we add a check (to) a pre-commit hook for git.
use_git_check_version_not_tagged(path)
path |
Path to the package directory (see
|
This might work only for proper git, not for packages like gert or git2r.
Invisibly
NULL
.
Other infrastructure functions:
use_git_pre_commit_script()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.