make_pnet_object: make a serialized collection of pkgnet reports

Description Usage Arguments Value Examples

View source: R/pkgnet.R

Description

make a serialized collection of pkgnet reports

Usage

1
make_pnet_object(src_folders, target = NULL)

Arguments

src_folders

character() collection of source package folders

target

optional character(1) defaults to NULL. If non-null, a saveRDS will be performed.

Value

list, each element has components 'dep' and 'fun' corresponding to DependencyReporter and FunctionReporter for each package. The list is classed as BBT_pkgnet for printing.

Examples

1
2
3
4
5
6
7
8
if (interactive()) {
 folds = dir(system.file("demo_srcs", package="BiocQE"), full.names=TRUE)
 tf = tempfile()
 y = make_pnet_object(folds, target=tf)
 x = readRDS(tf)
 x$parody$fun$graph_viz
 y
}

vjcitn/BiocQE documentation built on Dec. 30, 2021, 12:20 a.m.