Learn R Programming

git2r (version 0.33.0)

punch_card: Punch card

Description

Punch card

Usage

punch_card(repo = ".", main = NULL, ...)

Value

invisible NULL

Arguments

repo

a path to a repository or a git_repository object. Default is '.'

main

Default title for the plot is "Punch card on repo:" and repository workdir basename. Supply a new title if you desire one.

...

Additional arguments affecting the plot

Examples

Run this code
if (FALSE) {
## Initialize repository
path <- tempfile(pattern="git2r-")
dir.create(path)
repo <- clone("https://github.com/ropensci/git2r.git", path)

## Plot
punch_card(repo)
}

Run the code above in your browser using DataLab