pkgDepsGraph: Build the pkg dependency graph

View source: R/packages.R

pkgDepsGraphR Documentation

Build the pkg dependency graph

Description

Uses igraph and reproducible::pkgDep.

Usage

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()


PredictiveEcology/pemisc documentation built on Sept. 19, 2022, 7 p.m.