environment_coverage {covr} | R Documentation |
Calculate coverage of an environment
Description
Calculate coverage of an environment
Usage
environment_coverage(
env = parent.frame(),
test_files,
line_exclusions = NULL,
function_exclusions = NULL
)
Arguments
env |
The environment to be instrumented. |
test_files |
Character vector of test files with code to test the functions |
line_exclusions |
a named list of files with the lines to exclude from each file. |
function_exclusions |
a vector of regular expressions matching function
names to exclude. Example |
[Package covr version 3.6.4 Index]