Dependency analysis on package distr

General information

CRAN link link
Package version2.8.0
Number of strong dependencies9
Number of all dependencies21
Number of parent packages8
Max heaviness from parent packages2
Total heaviness from parent packages4
Number of parent packages (including Suggests and Enhances)11
Max co-heaviness from parent packages ("MASS" and "methods")1

Dependency heatmap

In the following dependency heatmap, rows are the parent packages of distr and columns are the dependency packages that each parent package brings in. On the right side of the heatmap, there are three barplot annotations: 1. number of imported functions/S4 methods/S4 classes from parent packages; 2. number of dependency packages from each parent package; 3. heaviness of each parent package on distr.

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils stats grDevices tools methods graphics distr startupmsg sfsmisc MASS evaluate highr stringr yaml xfun glue magrittr stringi 0 2 4 6 8 Imported methods 0 5 10 Required packages 0 2 4 6 8 Heaviness from parents methods graphics startupmsg sfsmisc stats grDevices utils MASS svUnit distrEx knitr In total 9 packages are required directly or indirectly (21) when installing 'distr' (2.8.0) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'distr' Imported functions The whole namespace is imported


Dependency table

"Import" information is from the NAMESPACE file of distr.

imports: number of imported functions/objects; importMethods: number of imported S4 methods; importClasses: number of imported S4 classes.

Required packages: number of strong dependency packages for each of the parent package (or in other words, number of dependency packages the parent package brings in).

Heaviness from parent on distr: number of required packages that can be reduced if moving parent package to Suggests of distr.

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on distr
sfsmisc Depends 1 0 0 4 2
startupmsg Depends The whole set of functions/methods/classes from parent package is imported to the namespace of distr. 0 1
methods Depends The whole set of functions/methods/classes from parent package is imported to the namespace of distr. 0 0
graphics Depends 9 0 0 0 0
MASS Imports 1 0 0 5 1
stats Imports The whole set of functions/methods/classes from parent package is imported to the namespace of distr. 0 0
grDevices Imports 4 0 0 0 0
utils Imports 1 0 0 0 0
knitr Suggests No object is imported into the namespace of distr. 12 9
distrEx Suggests No object is imported into the namespace of distr. 10 2
svUnit Suggests No object is imported into the namespace of distr. 1 1

Analysis was done with pkgndep.