get_github_commits_repos: Get Github Commits for Multiple Repos

View source: R/github_commits.R

get_github_commits_reposR Documentation

Get Github Commits for Multiple Repos

Description

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

## Not run: 
#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)

## End(Not run)

KWB-R/pkgmeta documentation built on March 27, 2024, 4:28 p.m.