Skip to contents

Add Commits list column to dfIssueClosers

Usage

MapIssueClosersToCommits(
  dfIssueClosers,
  strPkgRoot = ".",
  strOwner = GetGHOwner(strPkgRoot),
  strRepo = GetGHRepo(strPkgRoot),
  strGHToken = gh::gh_token()
)

Arguments

dfIssueClosers

(data.frame) The tibble::tibble() returned by FetchRepoIssueClosers().

strPkgRoot

(length-1 character) The path to a directory in the package. Will be expanded using gert::git_find().

strOwner

(length-1 character) GitHub username or organization name.

strRepo

(length-1 character) GitHub repository name.

strGHToken

(length-1 character) GitHub token with permissions appropriate to the action being performed.

Value

A tibble::tibble() with columns:

  • Issue: Issue number (integer).

  • Commits: List column containing character vectors of commit SHAs associated with each issue.