plot_dependencies: Plot a graph or a tree of the dependencies

Description Usage Arguments Value See Also Examples

View source: R/dependencies.R

Description

Plot a graph or a tree of the dependencies.

Usage

1
2
3
4
5
6
plot_dependencies(
  dependencies,
  type = c("network", "tree"),
  colors = NULL,
  ...
)

Arguments

dependencies

A dataframe. The dependencies of a package.

type

A string (default = "network"). Control the type of the output: "network" or "tree".

colors

A vector (default = NULL). Control the colors for each type of dependency.

...

Other arguments passed to plot.

Value

A plot or a tree of the dependencies.

See Also

get_dependencies, plot_dependencies, download_dependencies, install_dependencies

Examples

1
2
3
4
5
6
## Not run: 
dependencies <- get_dependencies(package = "shiny")
plot_dependencies(dependencies = dependencies, type = "network")
plot_dependencies(dependencies = dependencies, type = "tree")

## End(Not run)

thoera/dependencies documentation built on May 18, 2020, 9:57 p.m.