Dependency analysis on package IRkernel

General information

CRAN link link
Package version1.3
Number of strong dependencies23
Number of all dependencies56
Number of parent packages9
Max heaviness from parent packages1
Total heaviness from parent packages4
Number of parent packages (including Suggests and Enhances)11
Max co-heaviness from parent packages ("IRdisplay" and "repr")13

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils grDevices graphics stats tools digest rlang cli crayon glue jsonlite pillar ellipsis fansi lifecycle utf8 vctrs htmltools base64enc fastmap repr desc evaluate magrittr pkgload R6 withr rprojroot rstudioapi brew commonmark knitr purrr stringi stringr xml2 cpp11 highr yaml xfun brio callr praise processx ps waldo diffobj rematch2 tibble pkgconfig 0 5 10 Imported methods 0 10 20 30 Required packages 0 10 20 Heaviness from parents methods pbdZMQ uuid evaluate jsonlite digest crayon repr IRdisplay roxygen2 testthat In total 23 packages are required directly or indirectly (56) when installing 'IRkernel' (1.3) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'IRkernel' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on IRkernel
pbdZMQ Imports 14 0 0 0 1
uuid Imports The whole set of functions/methods/classes from parent package is imported to the namespace of IRkernel. 0 1
evaluate Imports 4 0 0 1 1
IRdisplay Imports 2 0 0 19 1
methods Imports The whole set of functions/methods/classes from parent package is imported to the namespace of IRkernel. 0 0
jsonlite Imports 2 0 0 1 0
digest Imports The whole set of functions/methods/classes from parent package is imported to the namespace of IRkernel. 1 0
crayon Imports 3 0 0 3 0
repr Imports 2 0 0 18 0
roxygen2 Suggests No object is imported into the namespace of IRkernel. 30 22
testthat Suggests No object is imported into the namespace of IRkernel. 36 21

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 IRkernel Co-heaviness as Jaccard coeffcient
repr IRdisplay 13 0.929

Analysis was done with pkgndep.