One of the main purposes of qcthat is to produce user-friendly reports about a package's issue and test statuses. Printing an issue-test matrix provides a nested view of the relationship between milestones, issues, and tests, as well as the state of issues ("open", "closed (completed)", or "closed (won't fix)") and the disposition of tests ("passed", "failed", or "skipped").
Arguments
- x
(
qcthat_Object) The qcthat object to format.- ...
Additional arguments passed to methods.
- lglUseEmoji
(
length-1 logical) Whether to use emojis (ifTRUEand the emoji package is installed) or ASCII indicators (ifFALSE) in the output. By default, this is determined by theqcthat.emojioption, which defaults toTRUE.- transform
(
function) A function to transform the output before returning it. By default, this isbase::identity()forformat()(returns the formatted output), andbase::writeLines()forprint()(sends the output tostdout()).
Examples
if (FALSE) { # interactive()
lTestResults <- testthat::test_local(
stop_on_failure = FALSE,
reporter = "silent"
)
IssueTestMatrix <- CompileIssueTestMatrix(
dfRepoIssues = FetchRepoIssues(),
dfTestResults = CompileTestResults(lTestResults)
)
print(IssueTestMatrix)
# Remove the "qcthat_IssueTestMatrix" class to see the raw tibble.
print(tibble::as_tibble(IssueTestMatrix))
}