Set up a Git
repository
and push the created repo to Github
.
This requires that git
and hub
are installed
and configured in the system.
pkg_git(pkg_root, github = TRUE, commit_msg = "AUTOMATED BUILD")
pkg_root | Character string. Package root directory. |
---|---|
github | Logical. Set up and push to a github repository. |
commit_msg | Character string. Git commit message. |
Ivan Jacob Agaloos Pesigan
if (FALSE) { pkg_git( pkg_root = "boilerplatePackage", github = TRUE, commit_msg = "Meaningful commit message" ) }