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