Dependency analysis on package keras

General information

CRAN link link
Package version2.9.0
Number of strong dependencies39
Number of all dependencies87
Number of parent packages11
Max heaviness from parent packages5
Total heaviness from parent packages7
Number of parent packages (including Suggests and Enhances)20
Max co-heaviness from parent packages ("tensorflow" and "tfruns")10

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods stats grDevices graphics grid tools splines rlang magrittr glue jsonlite withr R6 Matrix rappdirs lattice rprojroot yaml ellipsis vctrs cli Rcpp RcppTOML here png rstudioapi base64enc processx ps config reticulate whisker tidyselect purrr tfruns tfautograph backports evaluate digest highr stringr xfun stringi tibble lifecycle fansi pillar pkgconfig crayon utf8 bslib htmltools jquerylib knitr tinytex sass fastmap fs brio callr desc pkgload praise waldo diffobj rematch2 gtable isoband MASS mgcv scales nlme farver labeling munsell RColorBrewer viridisLite colorspace tensorflow generics 0 10 20 Imported methods 0 10 20 30 Required packages 0 10 20 Heaviness from parents magrittr zeallot methods R6 generics glue rlang ellipsis reticulate tfruns tensorflow png jpeg withr callr knitr rmarkdown testthat ggplot2 tfdatasets In total 39 packages are required directly or indirectly (87) when installing 'keras' (2.9.0) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'keras' 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 keras.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on keras
tensorflow Imports 9 0 0 36 5
zeallot Imports The whole set of functions/methods/classes from parent package is imported to the namespace of keras. 0 1
generics Imports 2 0 0 1 1
magrittr Imports The whole set of functions/methods/classes from parent package is imported to the namespace of keras. 0 0
methods Imports The whole set of functions/methods/classes from parent package is imported to the namespace of keras. 0 0
R6 Imports The whole set of functions/methods/classes from parent package is imported to the namespace of keras. 0 0
glue Imports Parent package is listed in Imports of keras but no object from parent package is imported. 1 0
rlang Imports 1 0 0 1 0
ellipsis Imports Parent package is listed in Imports of keras but no object from parent package is imported. 2 0
reticulate Imports 27 0 0 16 0
tfruns Imports 6 0 0 30 0
ggplot2 Suggests No object is imported into the namespace of keras. 37 22
testthat Suggests No object is imported into the namespace of keras. 36 19
rmarkdown Suggests No object is imported into the namespace of keras. 27 16
knitr Suggests No object is imported into the namespace of keras. 12 7
jpeg Suggests No object is imported into the namespace of keras. 0 1
callr Suggests No object is imported into the namespace of keras. 4 1
tfdatasets Suggests No object is imported into the namespace of keras. 38 1
png Suggests No object is imported into the namespace of keras. 0 0
withr Suggests No object is imported into the namespace of keras. 3 0

Analysis was done with pkgndep.