Learn R Programming

test.assessr (version 2.1.2)

normalize_test_results: Normalize test results for single or multi-framework structure

Description

For single-framework results, passes through unchanged. For multi-framework, sets multi_framework and frameworks while keeping results as a named list of per-framework blocks (no flattening).

Usage

normalize_test_results(test_results)

Value

A list with multi_framework (logical), frameworks

(character, multi only), and results preserved for multi-framework.

Arguments

test_results

List from get_package_coverage or run_covr_modes.