Dependency analysis on package tensorflow

General information

CRAN link link
Package version2.9.0
Number of strong dependencies36
Number of all dependencies59
Number of parent packages9
Max heaviness from parent packages11
Total heaviness from parent packages16
Number of parent packages (including Suggests and Enhances)12
Max co-heaviness from parent packages ("tfruns" and "rstudioapi")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils graphics methods stats grDevices grid tools jsonlite withr rprojroot ps R6 Matrix Rcpp RcppTOML here png rappdirs lattice yaml reticulate magrittr rlang rstudioapi ellipsis glue vctrs cli backports base64enc config whisker tidyselect purrr processx brio callr crayon desc digest evaluate lifecycle pkgload praise waldo diffobj fansi rematch2 tibble pillar pkgconfig utf8 generics tensorflow tfruns zeallot tfautograph 0 2 4 6 Imported methods 0 10 20 30 40 Required packages 0 5 10 15 Heaviness from parents utils yaml grDevices rstudioapi config processx reticulate tfautograph tfruns callr testthat keras In total 36 packages are required directly or indirectly (59) when installing 'tensorflow' (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 'tensorflow' 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 tensorflow.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on tensorflow
tfruns Imports 6 0 0 30 11
processx Imports Parent package is listed in Imports of tensorflow but no object from parent package is imported. 3 3
tfautograph Imports Parent package is listed in Imports of tensorflow but no object from parent package is imported. 18 2
utils Imports 2 0 0 0 0
yaml Imports Parent package is listed in Imports of tensorflow but no object from parent package is imported. 0 0
grDevices Imports 1 0 0 0 0
rstudioapi Imports Parent package is listed in Imports of tensorflow but no object from parent package is imported. 0 0
config Imports Parent package is listed in Imports of tensorflow but no object from parent package is imported. 1 0
reticulate Imports The whole set of functions/methods/classes from parent package is imported to the namespace of tensorflow. 16 0
testthat Suggests No object is imported into the namespace of tensorflow. 36 19
keras Suggests No object is imported into the namespace of tensorflow. 39 4
callr Suggests No object is imported into the namespace of tensorflow. 4 1

Analysis was done with pkgndep.