Skip to contents

Plot all Package Dependencies

Usage

plotAllDependencies(dependencies, r = 1.5, for.each = TRUE, ...)

Arguments

dependencies

list of package dependencies as returned by packageDependencies

r

radius of the unit circle in which to arrange the package names. Passed to plotNodes

for.each

if TRUE (default) not only an overview plot showing all dependencies but also one plot per package of which dependency information are contained in dependencies is created.

...

arguments passed to plotDependencies

Examples

kwb.packages <- installedKwbPackages()
  
# Plot all (direct and indirect) dependencies of installed kwb packages
plotAllDependencies(packageDependencies(kwb.packages))





  
# Plot only direct dependencies
plotAllDependencies(packageDependencies(kwb.packages, recursive = FALSE))