Visualise and Explore Deep Dependencies of R Packages

CRAN status CircleCI build status AppVeyor build status Codecov test coverage Lifecycle: maturing

Overview

The deepdep package provides tools for exploration of package dependencies. The main deepdep() function allows to acquire deep dependencies of any package and plot them in an elegant way. It also adds some popularity measures for the packages e.g. in the form of download count through the cranlogs package. Uses the CRAN metadata database and Bioconductor metadata.

Exploration tools:

Visualisation tools:

Installation

# Install from CRAN: 
install.packages("deepdep")

# Install the development version from GitHub:
devtools::install_github("DominikRafacz/deepdep")

Examples introduction to the deepdep package

options(width = 700)
library(deepdep)

dd <- deepdep("ggplot2", depth = 2)

head(dd)

plot_dependencies(dd, "circular")
plot_dependencies("bayes4psy", show_version = TRUE,
                  dependency_type = c("Depends", "Imports", "Suggests", "LinkingTo"))
dd_xgboost <- deepdep("xgboost", dependency_type = "Imports", downloads = TRUE)

head(dd_xgboost)

plot_downloads(dd_xgboost)
plot_dependencies(dd_xgboost, "tree", show_version = TRUE)


DominikRafacz/deepdep documentation built on Feb. 27, 2023, 3:39 p.m.