Dependency analysis on package diagram

General information

CRAN link link
Package version1.6.5
Number of strong dependencies4
Number of all dependencies4
Number of parent packages3
Max heaviness from parent packages2
Total heaviness from parent packages2
Number of parent packages (including Suggests and Enhances)3
Max co-heaviness from parent packages ("stats" and "shape")1

Dependency heatmap

In the following dependency heatmap, rows are the parent packages of diagram 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 diagram.

Adjust heatmap size:
Base packages Depends Imports stats graphics grDevices 0 5 10 Imported methods 0 1 2 3 Required packages 0 1 2 Heaviness from parents shape stats graphics In total 4 packages are required directly or indirectly (4) when installing 'diagram' (1.6.5) Depends Imports Base packages that are required Contributed packages that are required Packages that are required for installing 'diagram' Imported functions The whole namespace is imported


Dependency table

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

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 diagram: number of required packages that can be reduced if moving parent package to Suggests of diagram.

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on diagram
shape Depends The whole set of functions/methods/classes from parent package is imported to the namespace of diagram. 3 2
stats Imports 2 0 0 0 0
graphics Imports 12 0 0 0 0

Analysis was done with pkgndep.