pkg_git: Git and Github

Description Usage Arguments Author(s) Examples

View source: R/pkg_git.R

Description

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.

Usage

1
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(s)

Ivan Jacob Agaloos Pesigan

Examples

1
2
3
4
5
6
7
8
## Not run: 
pkg_git(
  pkg_root = "boilerplatePackage",
  github = TRUE,
  commit_msg = "Meaningful commit message"
)

## End(Not run)

jeksterslabds/jeksterslabRpkg documentation built on Jan. 22, 2021, 11:43 p.m.