Dependency analysis on package LSAmitR

General information

CRAN link link
Package version1.0-3
Number of strong dependencies87
Number of all dependencies169
Number of parent packages2
Max heaviness from parent packages37
Total heaviness from parent packages56
Number of parent packages (including Suggests and Enhances)26
Max co-heaviness from parent packages ("Hmisc" and "lme4")31

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests stats utils methods graphics grDevices grid splines tools parallel stats4 Matrix lattice Rcpp MASS nlme cli crayon digest ellipsis lifecycle magrittr R6 rlang withr glue fansi tibble pillar pkgconfig vctrs utf8 gtable mgcv RcppEigen evaluate jsonlite rstudioapi survival ggplot2 isoband scales RColorBrewer stringr viridisLite farver labeling munsell stringi backports colorspace boot minqa nloptr testthat brio callr desc pkgload praise processx ps waldo rprojroot diffobj rematch2 cluster gridExtra nnet foreign knitr highr yaml xfun Formula latticeExtra rpart data.table htmlTable viridis htmltools base64enc png jpeg checkmate htmlwidgets fastmap RcppArmadillo cpp11 purrr tidyselect broom dplyr generics tidyr numDeriv mvtnorm polycor admisc lme4 CDM GPArotation vegan Deriv pbapply dcurver permute mice mitools DBI lpSolve date chron evir mnormt pbivnorm foreach shape codetools iterators TAM pbv miceadds pan jomo haven ordinal forcats hms readr ucminf clipr vroom tzdb bit64 progress bit prettyunits mirt ltm deltaPlotR msm expm carData abind pbkrtest quantreg maptools SparseM MatrixModels sp 0 0.5 1 Imported methods 0 20 40 60 80 Required packages 0 10 20 30 Heaviness from parents lme4 Hmisc matrixStats combinat tensor WrightMap irr xtable gtools plyr prettyR pls kerdiest gridExtra lattice lavaan TAM glmnet sirt mirt mice miceadds BIFIEsurvey mitml difR car In total 87 packages are required directly or indirectly (169) when installing 'LSAmitR' (1.0-3) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'LSAmitR' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on LSAmitR
Hmisc Imports 1 0 0 67 37
lme4 Imports 1 0 0 49 19
mitml Suggests No object is imported into the namespace of LSAmitR. 70 20
difR Suggests No object is imported into the namespace of LSAmitR. 71 17
car Suggests No object is imported into the namespace of LSAmitR. 87 17
BIFIEsurvey Suggests No object is imported into the namespace of LSAmitR. 55 13
miceadds Suggests No object is imported into the namespace of LSAmitR. 54 12
mirt Suggests No object is imported into the namespace of LSAmitR. 25 9
sirt Suggests No object is imported into the namespace of LSAmitR. 17 8
mice Suggests No object is imported into the namespace of LSAmitR. 50 8
TAM Suggests No object is imported into the namespace of LSAmitR. 15 6
lavaan Suggests No object is imported into the namespace of LSAmitR. 10 5
glmnet Suggests No object is imported into the namespace of LSAmitR. 16 5
kerdiest Suggests No object is imported into the namespace of LSAmitR. 5 4
irr Suggests No object is imported into the namespace of LSAmitR. 1 2
matrixStats Suggests No object is imported into the namespace of LSAmitR. 0 1
combinat Suggests No object is imported into the namespace of LSAmitR. 0 1
tensor Suggests No object is imported into the namespace of LSAmitR. 0 1
WrightMap Suggests No object is imported into the namespace of LSAmitR. 1 1
xtable Suggests No object is imported into the namespace of LSAmitR. 2 1
gtools Suggests No object is imported into the namespace of LSAmitR. 3 1
plyr Suggests No object is imported into the namespace of LSAmitR. 3 1
prettyR Suggests No object is imported into the namespace of LSAmitR. 3 1
pls Suggests No object is imported into the namespace of LSAmitR. 4 1
gridExtra Suggests No object is imported into the namespace of LSAmitR. 5 0
lattice Suggests No object is imported into the namespace of LSAmitR. 5 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 LSAmitR Co-heaviness as Jaccard coeffcient
lme4 Hmisc 31 0.356

Analysis was done with pkgndep.