Dependency analysis on package tourr

General information

CRAN link link
Package version0.6.0
Number of strong dependencies24
Number of all dependencies94
Number of parent packages6
Max heaviness from parent packages5
Total heaviness from parent packages7
Number of parent packages (including Suggests and Enhances)19
Max co-heaviness from parent packages ("dplyr" and "tibble")13

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils grDevices stats graphics tools grid splines magrittr glue rlang crayon R6 ellipsis fansi lifecycle pillar pkgconfig vctrs cli utf8 tibble generics tidyselect purrr digest evaluate yaml jsonlite withr nlme Matrix lattice highr stringr xfun stringi bitops Rcpp boot gsl rex httr lazyeval curl mime openssl askpass sys dplyr cpp11 bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 gtable isoband MASS mgcv scales farver labeling munsell RColorBrewer viridisLite colorspace 0 2 4 6 Imported methods 0 10 20 30 Required packages 0 5 10 15 20 Heaviness from parents stats utils grDevices MASS tibble dplyr TeachingDemos ash gifski geozoo colorspace energy mgcv knitr covr tidyr rmarkdown testthat ggplot2 In total 24 packages are required directly or indirectly (94) when installing 'tourr' (0.6.0) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'tourr' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on tourr
dplyr Imports Parent package is listed in Imports of tourr but no object from parent package is imported. 20 5
MASS Imports Parent package is listed in Imports of tourr but no object from parent package is imported. 5 2
stats Imports 5 0 0 0 0
utils Imports 2 0 0 0 0
grDevices Imports 6 0 0 0 0
tibble Imports Parent package is listed in Imports of tourr but no object from parent package is imported. 15 0
rmarkdown Suggests No object is imported into the namespace of tourr. 27 20
testthat Suggests No object is imported into the namespace of tourr. 36 18
ggplot2 Suggests No object is imported into the namespace of tourr. 37 18
covr Suggests No object is imported into the namespace of tourr. 20 14
knitr Suggests No object is imported into the namespace of tourr. 12 8
mgcv Suggests No object is imported into the namespace of tourr. 10 6
energy Suggests No object is imported into the namespace of tourr. 7 4
geozoo Suggests No object is imported into the namespace of tourr. 2 2
tidyr Suggests No object is imported into the namespace of tourr. 22 2
TeachingDemos Suggests No object is imported into the namespace of tourr. 0 1
ash Suggests No object is imported into the namespace of tourr. 0 1
gifski Suggests No object is imported into the namespace of tourr. 0 1
colorspace Suggests No object is imported into the namespace of tourr. 4 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 tourr Co-heaviness as Jaccard coeffcient
tibble dplyr 13 0.722

Analysis was done with pkgndep.