Dependency analysis on package spatialreg
General information
CRAN link | link |
---|---|
Package version | 1.2-3 |
Number of strong dependencies | 37 |
Number of all dependencies | 117 |
Number of parent packages | 13 |
Max heaviness from parent packages | 3 |
Total heaviness from parent packages | 10 |
Number of parent packages (including Suggests and Enhances ) | 23 |
Max co-heaviness from parent packages ("spdep" and "sf") | 12 |
Dependency heatmap
In the following dependency heatmap, rows are the parent packages of spatialreg 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 spatialreg.
Dependency table
"Import" information is from the NAMESPACE file of spatialreg.
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 spatialreg: number of required packages that can be reduced if moving parent package to Suggests
of spatialreg.
Parent package | Field | imports | importMethods | importClasses | Required packages | Heaviness from parent on spatialreg |
---|---|---|---|---|---|---|
Matrix | Depends | The whole set of functions/methods/classes from parent package excluding 1 objects is imported to the namespace of spatialreg. | 7 | 0 | ||
spData | Depends | The whole set of functions/methods/classes from parent package is imported to the namespace of spatialreg. | 11 | 0 | ||
sf | Depends | The whole set of functions/methods/classes from parent package is imported to the namespace of spatialreg. | 19 | 0 | ||
gmodels | Imports | 1 | 0 | 0 | 8 | 3 |
spdep | Imports | 14 | 0 | 0 | 27 | 2 |
splines | Imports | 1 | 0 | 0 | 0 | 1 |
LearnBayes | Imports | 1 | 0 | 0 | 0 | 1 |
coda | Imports | 2 | 0 | 0 | 6 | 1 |
nlme | Imports | 1 | 0 | 0 | 6 | 1 |
expm | Imports | 2 | 0 | 0 | 8 | 1 |
methods | Imports | 4 | 0 | 0 | 0 | 0 |
boot | Imports | 1 | 0 | 0 | 2 | 0 |
MASS | Imports | 1 | 0 | 0 | 5 | 0 |
tmap | Suggests | No object is imported into the namespace of spatialreg. | 85 | 59 | ||
rmarkdown | Suggests | No object is imported into the namespace of spatialreg. | 27 | 22 | ||
knitr | Suggests | No object is imported into the namespace of spatialreg. | 12 | 8 | ||
spam | Suggests | No object is imported into the namespace of spatialreg. | 3 | 2 | ||
lmtest | Suggests | No object is imported into the namespace of spatialreg. | 7 | 2 | ||
sandwich | Suggests | No object is imported into the namespace of spatialreg. | 7 | 2 | ||
RSpectra | Suggests | No object is imported into the namespace of spatialreg. | 10 | 2 | ||
igraph | Suggests | No object is imported into the namespace of spatialreg. | 10 | 2 | ||
parallel | Suggests | No object is imported into the namespace of spatialreg. | 0 | 1 | ||
foreign | Suggests | No object is imported into the namespace of spatialreg. | 3 | 1 |
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 spatialreg | Co-heaviness as Jaccard coeffcient |
---|---|---|---|
sf | spdep | 12 | 0.857 |
Analysis was done with pkgndep.