Dependency analysis on package drc

General information

CRAN link link
Package version3.0-1
Number of strong dependencies96
Number of all dependencies96
Number of parent packages7
Max heaviness from parent packages66
Total heaviness from parent packages74
Number of parent packages (including Suggests and Enhances)7
Max co-heaviness from parent packages ("car" and "scales")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports stats utils grDevices graphics methods splines grid parallel tools glue rlang lifecycle R6 farver labeling munsell RColorBrewer viridisLite colorspace MASS Matrix survival lattice mvtnorm TH.data sandwich codetools zoo carData abind mgcv nnet pbkrtest quantreg maptools lme4 nlme broom dplyr magrittr numDeriv knitr SparseM MatrixModels sp foreign boot minqa nloptr Rcpp RcppEigen backports ellipsis generics purrr stringr tibble tidyr ggplot2 tidyselect vctrs pillar evaluate highr yaml xfun testthat stringi fansi pkgconfig cpp11 digest gtable isoband scales withr cli crayon utf8 brio callr desc jsonlite pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 0 20 40 Imported methods 0 20 40 60 80 Required packages 0 20 40 60 Heaviness from parents stats MASS gtools plotrix scales multcomp car In total 96 packages are required directly or indirectly (96) when installing 'drc' (3.0-1) Depends Imports Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'drc' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on drc
stats Depends 54 0 0 0 0
MASS Depends 4 0 0 5 0
car Imports 1 0 0 87 66
multcomp Imports 1 0 0 16 6
gtools Imports 1 0 0 3 1
plotrix Imports 3 0 0 4 1
scales Imports 1 0 0 15 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 drc Co-heaviness as Jaccard coeffcient
scales car 11 0.143

Analysis was done with pkgndep.