buildPackageGraph | R Documentation |
Generates the Nodes and Edges of a set of functions in an R package or directory
buildPackageGraph(x, unique.edges = TRUE, only.connected = FALSE)
x |
A character string specifying the path to an R package or directory |
unique.edges |
Logical indicating whether there should be only a single edge between nodes. DEFAULT: TRUE |
only.connected |
Logical indicating whether unconnected nodes should be removed from the graph. DEFAULT: FALSE |
A named list of length 2 containing a character vector of nodes and a data.frame of edges.
system.file("extdata", package = "pkgGraphR") |>
buildPackageGraph()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.