vis_package | R Documentation |
Draws a network showing function dependencies within a package
vis_package(path = ".", centralGravity = 0.3, external = FALSE, physics = FALSE, icons = TRUE)
path |
where package code resides (this will be changed to download package to a temporary directory) |
centralGravity |
controls how tightly nodes are pulled into the center of the network; higher numbers are more tight (default = .3) |
external |
logical, if TRUE will include calls to functions external to the package (default = FALSE) |
physics |
logical, if TRUE will recalculate network if a node is moved (default = FALSE) |
icons |
logical, if TRUE will use font awesome icons, set to FALSE for shiny app (default = TRUE) |
Joyce Robbins https://github.com/jtr13
# Package code must exist locally: vis_package(pkginspector_example("viridisLite"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.