run_coverage: Run covr and potentially save results to disk
Description
Run covr and potentially save results to disk
Usage
run_coverage(pkg_source_path, timeout = Inf)
Value
list with total coverage and function coverage
Arguments
- pkg_source_path
package installation directory
- timeout
Timeout to pass to [callr::r_safe()] when running covr.