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:
- prioritizing functions to unit test based on their centrality
- examining the recursive dependencies you are taking on by using a given package
- exploring the structure of a new package provided by a coworker or downloaded from the internet
The core functionality of this package is the CreatePackageReport
function.
This package is now available from CRAN!
install.packages('pkgnet')
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.
If you'd like to contribute to the project, please open a pull request. PRs should follow the project's contribution guidelines.
This is a fairly new project and, as the version number indicates, should be regarded as a work in progress.