Skip to contents

Get Github Commits for Multiple Repos

Usage

get_github_commits_repos(repos, github_token = Sys.getenv("GITHUB_PAT"))

Arguments

repos

vector with full names of Github repos ("owner/repo_name", e.g. c("kwb-r/kwb.utils", "kwb-r/kwb.ml", "kwb-r/aquanes.report"))

github_token

default: Sys.getenv("GITHUB_PAT")

Value

data frame for all repos with releases

Examples

if (FALSE) {
#repos <- kwb.pkgstatus::get_github_repos(github_token = Sys.getenv("GITHUB_PAT"))
#repos <- repos$full_name
repos <- paste0("kwb-r/", c("aquanes.report", "kwb.ml", "kwb.utils"))
pkgs_commits <- pkgmeta::get_github_commits_repos(repos)
head(pkgs_commits)
}