WARNING: This package is still under construction. It's API can and will change. Please contribute to the conversation about its future by submitting issues and pull requests, or by contacting the package maintainer (see the DESCRIPTION file) directly.
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 depdencies 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 has not yet been submitted to CRAN, though we intend to do so soon.
To use the development version of the package, you can install directly from GitHub
devtools::install_github("UptakeOpenSource/pkgnet")
Try it out!
library(pkgnet)
result <- CreatePackageReport('ggplot2')
This is a fairly new project and, as the version number indicates, should be regarded as a work in progress.