| coverage_check_has_recorded_tests {covtracer} | R Documentation | 
Check that the coverage object retains testing information
Description
Check whether the coverage object has expected fields produced when coverage
was captured with option(covr.record_tests = TRUE), throwing an error
if it was not.
Usage
coverage_check_has_recorded_tests(coverage, warn = TRUE)
Arguments
coverage | 
 a   | 
warn | 
 Whether to warn when it is uncertain whether the tests were recorded. It may be uncertain if tests were recorded if there are no tested R code traces.  | 
Value
Used for side-effects of emitting an error when a coverage object does not contain recorded traces, or a warning when a coverage object appears to have no tests.
See Also
Other coverage_tests: 
coverage_get_tests(),
coverage_has_recorded_tests()
[Package covtracer version 0.0.1 Index]