Dependency analysis on package torch

General information

CRAN link link
Package version0.7.2
Number of strong dependencies20
Number of all dependencies71
Number of parent packages14
Max heaviness from parent packages3
Total heaviness from parent packages15
Number of parent packages (including Suggests and Enhances)23
Max co-heaviness from parent packages ("callr" and "R6")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods stats grDevices graphics tools rlang glue R6 processx ps bit jsonlite evaluate magrittr yaml digest curl highr stringr xfun stringi crayon withr V8 Rcpp rex httr lazyeval mime openssl askpass sys bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs brio callr cli desc ellipsis lifecycle pkgload praise waldo rprojroot rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 0 2 4 6 8 Imported methods 0 10 20 30 Required packages 0 10 20 Heaviness from parents R6 methods utils stats magrittr tools rlang Rcpp coro ellipsis withr cli bit64 callr palmerpenguins numDeriv glue mvtnorm katex knitr covr rmarkdown testthat In total 20 packages are required directly or indirectly (71) when installing 'torch' (0.7.2) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'torch' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on torch
withr Imports Parent package is listed in Imports of torch but no object from parent package is imported. 3 3
callr Imports 1 0 0 4 3
cli Imports Parent package is listed in Imports of torch but no object from parent package is imported. 3 2
bit64 Imports 1 0 0 4 2
magrittr Imports 1 0 0 0 1
tools Imports Parent package is listed in Imports of torch but no object from parent package is imported. 0 1
Rcpp Imports 1 0 0 2 1
coro Imports 3 0 0 2 1
ellipsis Imports Parent package is listed in Imports of torch but no object from parent package is imported. 2 1
R6 Imports Parent package is listed in Imports of torch but no object from parent package is imported. 0 0
methods Imports Parent package is listed in Imports of torch but no object from parent package is imported. 0 0
utils Imports 3 0 0 0 0
stats Imports 1 0 0 0 0
rlang Imports 8 0 0 1 0
testthat Suggests No object is imported into the namespace of torch. 36 21
rmarkdown Suggests No object is imported into the namespace of torch. 27 19
covr Suggests No object is imported into the namespace of torch. 20 13
knitr Suggests No object is imported into the namespace of torch. 12 7
katex Suggests No object is imported into the namespace of torch. 6 4
palmerpenguins Suggests No object is imported into the namespace of torch. 0 1
numDeriv Suggests No object is imported into the namespace of torch. 0 1
mvtnorm Suggests No object is imported into the namespace of torch. 2 1
glue Suggests No object is imported into the namespace of torch. 1 0

Analysis was done with pkgndep.