pg_graph: pg_graph

Description Usage Arguments Value

Description

Construct function network graph for a package

Usage

1
pg_graph(pkg_dir, plot = TRUE, vis_save = NULL)

Arguments

pkg_dir

Directory containing the package

plot

If TRUE, plot the network using visNetwork which opens an interactive browser pane.

vis_save

Name of local file in which to save html file of network visualisation (will override plot to FALSE).

Value

A list of nodes and edges describing connections between the various exported and non-exported functions of a package.


mpadge/packgraph documentation built on April 25, 2021, 1:07 p.m.