Dependency analysis on package CARBayes

General information

CRAN link link
Package version5.3
Number of strong dependencies97
Number of all dependencies97
Number of parent packages14
Max heaviness from parent packages16
Total heaviness from parent packages39
Number of parent packages (including Suggests and Enhances)14
Max co-heaviness from parent packages ("leaflet" and "GGally")14

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports utils methods grDevices graphics stats grid tools splines MASS magrittr lattice Rcpp Matrix classInt DBI s2 units e1071 class KernSmooth wk proxy glue lifecycle R6 rlang tibble vctrs pillar ellipsis fansi pkgconfig cli crayon utf8 sf generics tidyselect purrr raster sp terra ggplot2 gtable RColorBrewer scales digest isoband mgcv withr farver labeling munsell viridisLite nlme colorspace dotCall64 coda mcmc quantreg SparseM MatrixModels survival spData deldir boot dplyr forcats plyr progress reshape tidyr hms prettyunits cpp11 base64enc crosstalk htmlwidgets htmltools markdown png viridis leaflet.providers jsonlite lazyeval yaml fastmap xfun mime gridExtra 0 2 4 Imported methods 0 20 40 60 Required packages 0 5 10 15 Heaviness from parents Rcpp MASS stats truncnorm utils spam coda MCMCpack sf CARBayesdata dplyr spdep GGally leaflet In total 97 packages are required directly or indirectly (97) when installing 'CARBayes' (5.3) Depends Imports Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'CARBayes' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on CARBayes
Rcpp Depends The whole set of functions/methods/classes from parent package is imported to the namespace of CARBayes. 2 0
MASS Depends The whole set of functions/methods/classes from parent package is imported to the namespace of CARBayes. 5 0
leaflet Imports The whole set of functions/methods/classes from parent package is imported to the namespace of CARBayes. 58 16
GGally Imports 1 0 0 51 9
MCMCpack Imports 1 0 0 16 6
spdep Imports 2 0 0 27 4
spam Imports 4 0 0 3 2
truncnorm Imports 2 0 0 0 1
CARBayesdata Imports The whole set of functions/methods/classes from parent package is imported to the namespace of CARBayes. 20 1
stats Imports The whole set of functions/methods/classes from parent package is imported to the namespace of CARBayes. 0 0
utils Imports 2 0 0 0 0
coda Imports 3 0 0 6 0
sf Imports The whole set of functions/methods/classes from parent package is imported to the namespace of CARBayes. 19 0
dplyr Imports 1 0 0 20 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 CARBayes Co-heaviness as Jaccard coeffcient
GGally leaflet 14 0.359

Analysis was done with pkgndep.