Dependency analysis on package piecewiseSEM

General information

CRAN link link
Package version2.1.2
Number of strong dependencies117
Number of all dependencies124
Number of parent packages9
Max heaviness from parent packages19
Total heaviness from parent packages43
Number of parent packages (including Suggests and Enhances)11
Max co-heaviness from parent packages ("car" and "lme4")20

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils stats methods grDevices graphics grid tools splines parallel lattice magrittr Matrix glue pkgconfig MASS rlang R6 evaluate digest jsonlite stringr yaml stringi nlme ellipsis tibble lifecycle vctrs pillar fansi withr cli crayon utf8 rstudioapi highr xfun numDeriv mvtnorm survival boot minqa nloptr Rcpp RcppEigen testthat brio callr desc pkgload praise processx ps waldo rprojroot diffobj rematch2 mgcv dplyr generics purrr tidyr ggplot2 tidyselect cpp11 gtable isoband scales farver labeling munsell RColorBrewer viridisLite colorspace htmltools base64enc fastmap knitr estimability xtable TH.data sandwich codetools zoo downloader htmlwidgets igraph influenceR readr viridis visNetwork clipr hms vroom tzdb gridExtra bit64 progress bit prettyunits carData abind nnet pbkrtest quantreg maptools lme4 broom SparseM MatrixModels sp foreign backports bslib jquerylib tinytex sass fs rappdirs 0 2 4 6 Imported methods 0 20 40 60 80 Required packages 0 5 10 15 Heaviness from parents methods MASS nlme emmeans igraph multcomp lme4 DiagrammeR car knitr rmarkdown In total 117 packages are required directly or indirectly (124) when installing 'piecewiseSEM' (2.1.2) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'piecewiseSEM' Imported functions The whole namespace is imported Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on piecewiseSEM
DiagrammeR Imports The whole set of functions/methods/classes from parent package is imported to the namespace of piecewiseSEM. 69 19
car Imports 1 0 0 87 16
multcomp Imports 1 0 0 16 5
emmeans Imports 1 0 0 8 3
methods Imports 1 0 0 0 0
MASS Imports 3 0 0 5 0
nlme Imports 7 0 0 6 0
igraph Imports Parent package is listed in Imports of piecewiseSEM but no object from parent package is imported. 10 0
lme4 Imports 6 0 0 49 0
rmarkdown Suggests No object is imported into the namespace of piecewiseSEM. 27 7
knitr Suggests No object is imported into the namespace of piecewiseSEM. 12 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 piecewiseSEM Co-heaviness as Jaccard coeffcient
lme4 car 20 0.556
DiagrammeR car 20 0.364

Analysis was done with pkgndep.