Usage
package_coverage(path = ".", ..., type = c("test", "vignette", "example",
"all", "none"), relative_path = TRUE, quiet = TRUE, clean = TRUE,
exclusions = NULL, exclude_pattern = getOption("covr.exclude_pattern"),
exclude_start = getOption("covr.exclude_start"),
exclude_end = getOption("covr.exclude_end"))
Arguments
path
file path to the package
...
extra expressions to run
type
run the package test, vignette,
example, all, or none. The default is
test.
relative_path
whether to output the paths as relative or absolute
paths.
quiet
whether to load and compile the package quietly
clean
whether to clean temporary output files after running.
exclusions
a named list of files with the lines to exclude from each file.
exclude_pattern
a search pattern to look for in the source to exclude a particular line.
exclude_start
a search pattern to look for in the source to start an exclude block.
exclude_end
a search pattern to look for in the source to stop an exclude block.