Learn R Programming

git2r (version 0.21.0)

punch_card: Punch card

Description

Punch card

Usage

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

# S4 method for git_repository punch_card(repo, main = NULL, ...)

Arguments

repo

The repository

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

Value

invisible NULL

Examples

Run this code
# NOT RUN {
## 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