Calculate coverage of an environment
environment_coverage(
env = parent.frame(),
test_files,
line_exclusions = NULL,
function_exclusions = NULL
)
The environment to be instrumented.
Character vector of test files with code to test the functions
a named list of files with the lines to exclude from each file.
a vector of regular expressions matching function
names to exclude. Example print\\\.
to match print methods.