create_empty_covr_list: Create an empty covr list for fallback

View source: R/run_covr_modes.R

create_empty_covr_listR Documentation

Create an empty covr list for fallback

Description

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.

Usage

create_empty_covr_list(pkg_name, error_message)

Arguments

pkg_name

A character string representing the name of the package.

error_message

A character string describing the reason for the fallback.

Value

A named list containing default coverage values, the provided error message, and placeholder notes.


test.assessr documentation built on March 3, 2026, 1:06 a.m.