Skip to contents

Get Github Commits for One Repo

Usage

get_github_commits(repo, github_token = Sys.getenv("GITHUB_PAT"))

Arguments

repo

full name of Github repo ("owner/repo_name", e.g. "kwb-r/kwb.utils")

github_token

default: Sys.getenv("GITHUB_PAT")

Value

data frame

Examples

if (FALSE) {
pkg_commits <- pkgmeta::get_github_commits("kwb-r/kwb.utils")
head(pkg_commits )
}