Usage
get_foo_coverage(foo_folder, test_folder)
Arguments
- foo_folder
folder containing functions
- test_folder
folder containing tests
Value
a dataframe with a column for functions and a column for coverage
Examples
if (FALSE) { # \dontrun{
get_foo_coverage(
foo_folder = "tests/testthat/example_project/R",
test_folder = "tests/testthat/example_project/tests/testthat"
)
get_foo_coverage(
foo_folder = "R",
test_folder = "tests/testthat"
)
} # }