Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

ghclass (version 0.1.0)

repo_commits: Get repository commits

Description

repo_commits returns a tibble of repositories belonging to a GitHub organization along with some basic statistics about those repositories.

Usage

repo_commits(
  repo,
  branch = "master",
  sha = branch,
  path = NULL,
  author = NULL,
  since = NULL,
  until = NULL,
  quiet = FALSE
)

Arguments

repo

Character. Address of repository in owner/name format.

branch

Character. Branch to list commits from.

sha

Character. SHA to start listing commits from.

path

Character. Only commits containing this file path will be returned.

author

Character. GitHub login or email address by which to filter commit author.

since

Character. Only commits after this date will be returned, expects YYYY-MM-DDTHH:MM:SSZ format.

until

Character. Only commits before this date will be returned, expects YYYY-MM-DDTHH:MM:SSZ format.

quiet

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

Examples

Run this code
# NOT RUN {
org_repo_stats("ghclass")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab