Tools from the domain of graph theory can be used to quantify the complexity and vulnerability to failure of a software package. That is the guiding philosophy of this package. 'pkgnet' provides tools to analyze the dependencies between functions in an R package and between its imported packages.
pkgnet is an R library designed for the analysis of R libraries! The goal of the package is to build a graph representation of a package and its dependencies to inform a variety of activities, including:
The core functionality of this package is the
This package is now available from CRAN!
Try it out!
library(pkgnet) result <- CreatePackageReport('ggplot2')
To report bugs, request features, or ask questions about the structure of the code, please open an issue.
This is a fairly new project and, as the version number indicates, should be regarded as a work in progress.