Dependency analysis on package poppr

General information

CRAN link link
Package version2.9.3
Number of strong dependencies83
Number of all dependencies107
Number of parent packages19
Max heaviness from parent packages7
Total heaviness from parent packages10
Number of parent packages (including Suggests and Enhances)25
Max co-heaviness from parent packages ("shiny" and "adegenet")19

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests utils methods stats grDevices graphics grid tools parallel splines magrittr lattice glue R6 rlang digest pkgconfig nlme crayon ellipsis lifecycle MASS Matrix Rcpp withr tibble vctrs pillar fansi cli utf8 jsonlite mgcv htmltools fastmap bslib gtable isoband scales stringr base64enc sass jquerylib farver labeling munsell RColorBrewer viridisLite stringi fs rappdirs colorspace ape ggplot2 pixmap sp httpuv mime xtable fontawesome sourcetools later promises commonmark cachem generics tidyselect permute cluster purrr ade4 igraph shiny seqinr boot reshape2 dplyr vegan segmented plyr evaluate highr yaml xfun pracma knitr tinytex brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 0 5 10 15 Imported methods 0 20 40 60 80 Required packages 0 5 10 Heaviness from parents adegenet stats graphics grDevices utils methods magrittr rlang boot progressr polysat igraph ade4 ape pegas vegan dplyr shiny ggplot2 RClone poweRlaw knitr rmarkdown testthat cowplot In total 83 packages are required directly or indirectly (107) when installing 'poppr' (2.9.3) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'poppr' 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 poppr.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on poppr
adegenet Depends The whole set of functions/methods/classes from parent package is imported to the namespace of poppr. 79 7
progressr Imports Parent package is listed in Imports of poppr but no object from parent package is imported. 2 1
polysat Imports 5 0 0 6 1
pegas Imports 2 0 0 12 1
stats Imports 15 0 0 0 0
graphics Imports 14 0 0 0 0
grDevices Imports 4 0 0 0 0
utils Imports 8 0 0 0 0
methods Imports The whole set of functions/methods/classes from parent package is imported to the namespace of poppr. 0 0
magrittr Imports 1 0 0 0 0
rlang Imports 1 0 0 1 0
boot Imports 3 0 0 2 0
igraph Imports 11 0 0 10 0
ade4 Imports 5 0 0 10 0
ape Imports 11 0 0 11 0
vegan Imports The whole set of functions/methods/classes from parent package is imported to the namespace of poppr. 14 0
dplyr Imports 6 0 0 20 0
shiny Imports The whole set of functions/methods/classes from parent package is imported to the namespace of poppr. 34 0
ggplot2 Imports The whole set of functions/methods/classes from parent package is imported to the namespace of poppr. 37 0
testthat Suggests No object is imported into the namespace of poppr. 36 14
rmarkdown Suggests No object is imported into the namespace of poppr. 27 7
knitr Suggests No object is imported into the namespace of poppr. 12 5
poweRlaw Suggests No object is imported into the namespace of poppr. 7 2
RClone Suggests No object is imported into the namespace of poppr. 0 1
cowplot Suggests No object is imported into the namespace of poppr. 38 1

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 poppr Co-heaviness as Jaccard coeffcient
adegenet shiny 19 0.731

Analysis was done with pkgndep.