Generate a report about the test status of specific issues.
Usage
QCIssues(
intIssues,
strPkgRoot = ".",
strOwner = gh::gh_tree_remote(strPkgRoot)[["username"]],
strRepo = gh::gh_tree_remote(strPkgRoot)[["repo"]],
strGHToken = gh::gh_token(),
lglWarn = TRUE,
chrIgnoredLabels = DefaultIgnoreLabels(),
envCall = rlang::caller_env()
)Arguments
- intIssues
(
integer) A vector of issue numbers from aCompileIssueTestMatrix()matrix or from GitHub.- strPkgRoot
(
length-1 character) The path to the root directory of the package. Will be expanded usingpkgload::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.- lglWarn
(
length-1 logical) Whether to warn when an extra value is included in the filter (but the report still returns results). Defaults toTRUE.- chrIgnoredLabels
(
character) GitHub labels to ignore, such as"qcthat-nocov".- envCall
(
environment) The environment to use for error reporting. Typically set torlang::caller_env().
Value
A qcthat_IssueTestMatrix object as returned by QCPackage(),
filtered to the indicated issues.
Examples
if (FALSE) { # interactive()
# This will only make sense if you are working in a git repository that has
# issues #84 and #85 on GitHub.
QCIssues(c(84, 85))
}