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")

Arguments

pkg_root

Character string. Package root directory.

github

Logical. Set up and push to a github repository.

commit_msg

Character string. Git commit message.

Author

Ivan Jacob Agaloos Pesigan

Examples

if (FALSE) { pkg_git( pkg_root = "boilerplatePackage", github = TRUE, commit_msg = "Meaningful commit message" ) }