make a serialized collection of pkgnet reports

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

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
}