parse_testthat_list_reporter: Parse testthat output

View source: R/parse-test-output.R

parse_testthat_list_reporterR Documentation

Parse testthat output

Description

Parse testthat output

Usage

parse_testthat_list_reporter(result, roll_up_ids = FALSE)

Arguments

result

List output as reported by testthat::ListReporter

roll_up_ids

If FALSE, the default, will leave duplicated Test ID's as is. If TRUE, will roll up any duplicated (non-NA) ID's so that they are unique and the passed/failed count reflects the total sums for a tests with a given ID. The test names for a set of rolled up ID's must share a common prefix, which will be used as the new test name. Any trailing spaces, slashes, colons, or underscores will be removed from the extracted prefix.

Value

A tibble formatted according to mrgvalidate::input_formats

See Also

mrgvalidate::input_formats, mrgvalidate::create_package_docs()


metrumresearchgroup/mrgvalprep documentation built on Dec. 10, 2022, 3:17 a.m.