Dependency analysis on package Matrix

General information

CRAN link link
Package version1.4-1
Number of strong dependencies7
Number of all dependencies40
Number of parent packages6
Max heaviness from parent packages2
Total heaviness from parent packages3
Number of parent packages (including Suggests and Enhances)16
Max co-heaviness from parent packages ("lattice" and "graphics")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests Enhances stats utils graphics grDevices grid methods tools stats4 lattice Matrix sp magrittr BiocGenerics foreign pkgconfig spData sf deldir boot units s2 e1071 raster classInt DBI Rcpp wk class proxy terra KernSmooth MASS 0 10 20 30 Imported methods 0 10 20 Required packages 0 10 20 Heaviness from parents methods graphics grid stats utils lattice MASS expm SparseM sfsmisc graph sp MatrixModels maptools igraph spdep In total 7 packages are required directly or indirectly (40) when installing 'Matrix' (1.4-1) Imports Suggests Enhances Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'Matrix' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on Matrix
lattice Imports 2 0 0 5 2
methods Imports 38 0 0 0 1
graphics Imports 2 0 0 0 0
grid Imports 3 0 0 0 0
stats Imports 10 0 0 0 0
utils Imports 5 0 0 0 0
expm Suggests No object is imported into the namespace of Matrix. 8 2
MASS Suggests No object is imported into the namespace of Matrix. 5 1
spdep Enhances No object is imported into the namespace of Matrix. 27 21
igraph Enhances No object is imported into the namespace of Matrix. 10 4
graph Enhances No object is imported into the namespace of Matrix. 6 3
maptools Enhances No object is imported into the namespace of Matrix. 9 3
sfsmisc Enhances No object is imported into the namespace of Matrix. 4 2
MatrixModels Enhances No object is imported into the namespace of Matrix. 8 2
SparseM Enhances No object is imported into the namespace of Matrix. 4 1
sp Enhances No object is imported into the namespace of Matrix. 7 1

Analysis was done with pkgndep.