This internal utility function returns a default coverage list structure used when test execution or mapping fails. It ensures consistent output format for downstream processing even when no valid test results are available.
create_empty_covr_list(pkg_name, error_message, test_pkg_data = NULL)A named list containing default coverage values, the provided error message, and placeholder notes.
A character string representing the name of the package.
A character string describing the reason for the fallback.
Optional list from check_pkg_tests_and_snaps();
use NULL when unavailable (default).