Uses igraph and reproducible::pkgDep.

pkgDepsGraph(
  pkgs = c("LandR", "pemisc", "map", "SpaDES", "SpaDES.tools", "SpaDES.core",
    "SpaDES.addins", "SpaDES.shiny", "reproducible", "quickPlot"),
  plot.it = TRUE
)

Arguments

pkgs

A character vector of package names. Default is c("LandR", "pemisc", "map", "SpaDES", "SpaDES.tools", "SpaDES.core", "SpaDES.addins", "SpaDES.shiny", "reproducible", "quickPlot")

plot.it

Logical. If TRUE, it will plot the igraph.

Value

A list of 2: dt a data.table of the dependencies, and dtGraph

an igraph object that can be plotted with plot()