Dependency analysis on package crs

General information

CRAN link link
Package version0.15-34
Number of strong dependencies19
Number of all dependencies39
Number of parent packages4
Max heaviness from parent packages4
Total heaviness from parent packages4
Number of parent packages (including Suggests and Enhances)7
Max co-heaviness from parent packages ("np" and "quantreg")12

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests graphics stats methods utils grDevices grid splines tools SparseM Matrix MatrixModels survival MASS lattice boot cubature quadprog quantreg Rcpp htmlwidgets htmltools knitr jsonlite magrittr R6 yaml digest base64enc rlang fastmap evaluate highr stringr xfun glue stringi 0 0.5 1 Imported methods 0 10 20 Required packages 0 5 10 15 Heaviness from parents stats boot quantreg np quadprog logspline rgl In total 19 packages are required directly or indirectly (39) when installing 'crs' (0.15-34) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'crs' The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on crs
np Imports The whole set of functions/methods/classes from parent package is imported to the namespace of crs. 18 4
stats Imports The whole set of functions/methods/classes from parent package is imported to the namespace of crs. 0 0
boot Imports The whole set of functions/methods/classes from parent package is imported to the namespace of crs. 2 0
quantreg Imports The whole set of functions/methods/classes from parent package is imported to the namespace of crs. 13 0
rgl Suggests No object is imported into the namespace of crs. 23 19
logspline Suggests No object is imported into the namespace of crs. 2 1
quadprog Suggests No object is imported into the namespace of crs. 0 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 crs Co-heaviness as Jaccard coeffcient
quantreg np 12 0.75

Analysis was done with pkgndep.