pkg_srcrefs {covtracer} | R Documentation |
Extract all the srcref objects of objects within a package namespace
Description
Extract all the srcref objects of objects within a package namespace
Usage
pkg_srcrefs(x)
## S3 method for class 'environment'
pkg_srcrefs(x)
## S3 method for class 'character'
pkg_srcrefs(x)
## S3 method for class 'coverage'
pkg_srcrefs(x)
Arguments
x |
A |
Value
A list_of_srcref
See Also
as.data.frame.list_of_srcref
Other srcrefs:
test_srcrefs()
,
trace_srcrefs()
Examples
pkg <- system.file("examplepkg", package = "covtracer")
install.packages(
pkg,
type = "source",
repos = NULL,
quiet = TRUE,
INSTALL_opts = "--with-keep.source"
)
pkg_srcrefs("examplepkg")
[Package covtracer version 0.0.1 Index]