environment_coverage | R Documentation |
Calculate coverage of an environment
environment_coverage(
env = parent.frame(),
test_files,
line_exclusions = NULL,
function_exclusions = NULL
)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.