View source: R/run_covr_skip_nstf.R
| create_nstf_covr_list | R Documentation |
Internal helper that constructs the final 'covr_list' structure from a coverage object. It wraps extraction of coverage information, performs total coverage computation, and assembles all diagnostic components.
create_nstf_covr_list(
coverage,
pkg_name,
no_tests_df,
test_files_clean,
skip_tests,
problems
)
coverage |
A coverage object returned from covr. |
pkg_name |
A Character string - package name. |
no_tests_df |
A dataframe - functions with no tests. |
test_files_clean |
A Character vector - functions with working tests |
skip_tests |
A Character vector - functions skipped |
problems |
A Character vector - test problems |
A named list ('covr_list') containing:
Numeric; overall package coverage percentage.
List; raw coverage extraction results with coverage data, errors, notes.
Data frame of functions lacking tests.
Character vector of skipped test files.
Character vector of passing test files.
Character vector describing test problems.
Other nstf_utility:
check_covr_skip_testit(),
create_base_tests_coverage(),
create_tinytest_coverage(),
get_nstf_test_path(),
get_source_test_mapping_nstf(),
prepare_tinytest_dev_includes(),
prepare_tinytest_run_env(),
restrict_test_paths_to_framework(),
run_covr_skip_nstf()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.