Dependency analysis on package lintr

General information

CRAN link link
Package version2.0.1
Number of strong dependencies56
Number of all dependencies67
Number of parent packages14
Max heaviness from parent packages16
Total heaviness from parent packages35
Number of parent packages (including Suggests and Enhances)16
Max co-heaviness from parent packages ("testthat" and "cyclocomp")8

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils tools grDevices stats graphics R6 glue jsonlite evaluate magrittr callr crayon desc withr processx cli rprojroot ps digest rlang highr stringr yaml xfun stringi brio ellipsis lifecycle pkgload praise waldo rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 lazyeval curl mime openssl askpass sys remotes bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs testthat 0 2 4 Imported methods 0 10 20 30 Required packages 0 5 10 15 Heaviness from parents codetools rstudioapi stats utils xmlparsedata rex digest jsonlite xml2 crayon httr knitr cyclocomp testthat rmarkdown mockery In total 56 packages are required directly or indirectly (67) when installing 'lintr' (2.0.1) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'lintr' 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 lintr.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on lintr
testthat Imports Parent package is listed in Imports of lintr but no object from parent package is imported. 36 16
httr Imports Parent package is listed in Imports of lintr but no object from parent package is imported. 9 6
knitr Imports Parent package is listed in Imports of lintr but no object from parent package is imported. 12 6
rex Imports The whole set of functions/methods/classes from parent package is imported to the namespace of lintr. 1 2
cyclocomp Imports 1 0 0 17 2
codetools Imports Parent package is listed in Imports of lintr but no object from parent package is imported. 0 1
xmlparsedata Imports Parent package is listed in Imports of lintr but no object from parent package is imported. 0 1
xml2 Imports 2 0 0 1 1
rstudioapi Imports Parent package is listed in Imports of lintr but no object from parent package is imported. 0 0
stats Imports 1 0 0 0 0
utils Imports 4 0 0 0 0
digest Imports Parent package is listed in Imports of lintr but no object from parent package is imported. 1 0
jsonlite Imports Parent package is listed in Imports of lintr but no object from parent package is imported. 1 0
crayon Imports Parent package is listed in Imports of lintr but no object from parent package is imported. 3 0
rmarkdown Suggests No object is imported into the namespace of lintr. 27 10
mockery Suggests No object is imported into the namespace of lintr. 37 1

Analysis was done with pkgndep.