Description Usage Arguments Value Note Examples
use pkgnet to analyze a source folder (including covr statistics)
1 |
sourcedir |
character(1) should contain an R package |
serialize |
logical(1) defaults to TRUE, See note. |
overwrite |
logical(1) defaults to TRUE; if FALSE will fail if |
See Note.
By default, serializes an S3 instance of BBT_pkgnet
, a list with components dep
for dependency report,
and fun
for function interrelationships, saved as RDS to [basename(sourcedir)]_pnet.rds
. If
serialize
is FALSE, simply returns the object. This is intended to be used
on a large number of packages and thus a checkpointing approach is the default.
1 2 3 4 5 6 7 8 | td = tempdir()
cur = getwd()
setwd(td)
pdy = system.file("demo_srcs/parody", package="BiocQE")
get_pnet(pdy)
file.exists("parody_pnet.rds")
class(readRDS("parody_pnet.rds"))
setwd(cur)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.