test_srcrefs | R Documentation |
Extract test srcref objects
test_srcrefs(x)
## S3 method for class 'coverage'
test_srcrefs(x)
x |
A |
A list_of_srcref
as.data.frame.list_of_srcref
Other srcrefs:
pkg_srcrefs()
,
trace_srcrefs()
options(covr.record_tests = TRUE)
pkg_path <- system.file("examplepkg", package = "covtracer")
cov <- covr::package_coverage(pkg_path)
test_srcrefs(cov)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.