Dependency analysis on package knitr

General information

CRAN link link
Package version1.39
Number of strong dependencies12
Number of all dependencies93
Number of parent packages7
Max heaviness from parent packages5
Total heaviness from parent packages8
Number of parent packages (including Suggests and Enhances)34
Max co-heaviness from parent packages ("highr" and "xfun")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils stats tools grDevices graphics grid magrittr xfun glue stringi rlang jsonlite R6 digest htmltools yaml base64enc fastmap rappdirs knitr evaluate highr stringr Rcpp fs ellipsis fansi lifecycle pillar pkgconfig vctrs cli crayon utf8 withr png mime curl callr processx ps jquerylib sass Matrix lattice rprojroot purrr tibble filehash systemfonts textshaping cpp11 sysfonts showtextdb openssl askpass sys RcppTOML here htmlwidgets bslib tinytex R.cache rematch2 R.methodsS3 R.oo R.utils base64url codetools data.table igraph tidyselect backports 0 5 10 Imported methods 0 20 40 Required packages 0 10 20 30 Heaviness from parents methods yaml tools evaluate xfun highr stringr formatR testit codetools png jpeg gifski digest xml2 DBI tikzDevice tinytex ragg showtext markdown magick webshot httr htmlwidgets sass JuliaCall bslib tibble reticulate rgl rmarkdown styler targets In total 12 packages are required directly or indirectly (93) when installing 'knitr' (1.39) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'knitr' Imported functions Package is listed in 'Imports' but namespace is not imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on knitr
stringr Imports Parent package is listed in Imports of knitr but no object from parent package is imported. 7 5
yaml Imports Parent package is listed in Imports of knitr but no object from parent package is imported. 0 1
evaluate Imports Parent package is listed in Imports of knitr but no object from parent package is imported. 1 1
highr Imports Parent package is listed in Imports of knitr but no object from parent package is imported. 3 1
methods Imports Parent package is listed in Imports of knitr but no object from parent package is imported. 0 0
tools Imports Parent package is listed in Imports of knitr but no object from parent package is imported. 0 0
xfun Imports 14 0 0 2 0
targets Suggests No object is imported into the namespace of knitr. 42 31
styler Suggests No object is imported into the namespace of knitr. 28 23
rmarkdown Suggests No object is imported into the namespace of knitr. 27 16
reticulate Suggests No object is imported into the namespace of knitr. 16 14
bslib Suggests No object is imported into the namespace of knitr. 14 13
tibble Suggests No object is imported into the namespace of knitr. 15 12
rgl Suggests No object is imported into the namespace of knitr. 23 12
sass Suggests No object is imported into the namespace of knitr. 11 10
httr Suggests No object is imported into the namespace of knitr. 9 8
htmlwidgets Suggests No object is imported into the namespace of knitr. 10 8
webshot Suggests No object is imported into the namespace of knitr. 8 6
ragg Suggests No object is imported into the namespace of knitr. 3 4
showtext Suggests No object is imported into the namespace of knitr. 4 4
tikzDevice Suggests No object is imported into the namespace of knitr. 3 3
magick Suggests No object is imported into the namespace of knitr. 5 3
JuliaCall Suggests No object is imported into the namespace of knitr. 14 3
markdown Suggests No object is imported into the namespace of knitr. 5 2
formatR Suggests No object is imported into the namespace of knitr. 0 1
testit Suggests No object is imported into the namespace of knitr. 0 1
codetools Suggests No object is imported into the namespace of knitr. 0 1
png Suggests No object is imported into the namespace of knitr. 0 1
jpeg Suggests No object is imported into the namespace of knitr. 0 1
gifski Suggests No object is imported into the namespace of knitr. 0 1
digest Suggests No object is imported into the namespace of knitr. 1 1
xml2 Suggests No object is imported into the namespace of knitr. 1 1
DBI Suggests No object is imported into the namespace of knitr. 1 1
tinytex Suggests No object is imported into the namespace of knitr. 3 1

Analysis was done with pkgndep.