pg_graph: pg_graph

pg_graphR Documentation

pg_graph

Description

Construct function network graph for a package

Usage

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 May 10, 2022, 2:27 p.m.