View source: R/run_covr_skip_stf.R
| create_results_summary | R Documentation |
This function extracts overall test coverage and file‑level coverage information from a covr coverage object. It provides a simplified summary for downstream reporting and scoring.
create_results_summary(cvr)
cvr |
A covr coverage object, typically produced by 'covr::environment_coverage()' or by higher‑level wrapper functions in this package (e.g., skip‑aware coverage for STF or NSTF workflows). |
A data frame containing summary statistics, including:
Numeric. Overall percentage of lines covered.
Character. File or package name associated with the coverage result.
List or data structure summarizing file‑level or element‑level coverage from the covr object.
Character vector containing any coverage‑related errors (if present).
Additional diagnostic notes returned by coverage processing.
The summary object is used by downstream reporting functions to generate test coverage summaries and scoring metrics.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.