Learn R Programming

ghclass (version 0.1.0)

repo_n_commits: Get repository commit count

Description

repo_n_commits returns a tibble of repositories and the number of commits in a given branch.

Usage

repo_n_commits(repo, branch = "master", quiet = FALSE)

Arguments

repo

Character. Address of repository in owner/name format.

branch

Character. Branch to list commits from.

quiet

Logical. Should an error message be printed if a repo does not exist.

Examples

Run this code
# NOT RUN {
repo_n_commits("rundel/ghclass")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab