Skip to contents

A simple wrapper around QCPackage() that filters the resulting issue-test matrix to only include issues that were closed as "completed".

Usage

QCCompletedIssues(
  strPkgRoot = ".",
  strOwner = gh::gh_tree_remote(strPkgRoot)[["username"]],
  strRepo = gh::gh_tree_remote(strPkgRoot)[["repo"]],
  strGHToken = gh::gh_token(),
  chrIgnoredLabels = DefaultIgnoreLabels()
)

Arguments

strPkgRoot

(length-1 character) The path to the root directory of the package. Will be expanded using pkgload::pkg_path().

strOwner

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

strRepo

(length-1 character) GitHub repository name.

strGHToken

(length-1 character) GitHub token with permissions to read issues.

chrIgnoredLabels

(character) GitHub labels to ignore, such as "qcthat-nocov".

Value

A qcthat_IssueTestMatrix object as returned by QCPackage(), filtered to issues that were closed as completed.

Examples

if (FALSE) { # interactive()

  QCCompletedIssues()
}