Dependency analysis on package splm

General information

CRAN link link
Package version1.5-3
Number of strong dependencies54
Number of all dependencies54
Number of parent packages11
Max heaviness from parent packages8
Total heaviness from parent packages17
Number of parent packages (including Suggests and Enhances)11
Max co-heaviness from parent packages ("spatialreg" and "spdep")18

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports methods stats graphics utils grid grDevices tools splines lattice MASS Rcpp zoo sandwich miscTools generics digest nlme spData sf boot sp raster classInt DBI magrittr s2 units deldir e1071 terra class KernSmooth wk proxy dotCall64 bdsmatrix collapse lmtest maxLik Rdpack Formula rbibutils Matrix spdep expm coda LearnBayes gmodels gdata gtools 0 2 4 Imported methods 0 10 20 30 Required packages 0 2 4 6 8 Heaviness from parents methods bdsmatrix spam MASS ibdreg nlme Matrix maxLik plm spdep spatialreg In total 54 packages are required directly or indirectly (54) when installing 'splm' (1.5-3) Imports Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'splm' Imported functions The whole namespace is imported The whole namespace is imported except some functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on splm
spatialreg Imports The whole set of functions/methods/classes from parent package is imported to the namespace of splm. 37 8
plm Imports 4 0 0 23 6
spam Imports 5 0 0 3 2
ibdreg Imports 1 0 0 5 1
methods Imports 1 0 0 0 0
bdsmatrix Imports 1 0 0 1 0
MASS Imports 1 0 0 5 0
nlme Imports 2 0 0 6 0
Matrix Imports The whole set of functions/methods/classes from parent package is imported to the namespace of splm. 7 0
maxLik Imports 1 0 0 12 0
spdep Imports The whole set of functions/methods/classes from parent package excluding 10 objects is imported to the namespace of splm. 27 0

The following table lists pairs of parent packages with co-heaviness larger than 10. The co-heaviness measures the number of additional dependencies that two parent packages simultaneously import and are only imported by the two parents.

Note the co-heaviness from parents can be always easily observed in the dependency heatmap.

Parent 1 Parent 2 Co-heaviness on splm Co-heaviness as Jaccard coeffcient
spdep spatialreg 18 0.692

Analysis was done with pkgndep.