Dependency analysis on package foghorn

General information

CRAN link link
Package version1.4.2
Number of strong dependencies32
Number of all dependencies73
Number of parent packages9
Max heaviness from parent packages5
Total heaviness from parent packages6
Number of parent packages (including Suggests and Enhances)15
Max co-heaviness from parent packages ("rvest" and "tibble")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests methods utils grDevices tools stats graphics R6 glue magrittr rlang crayon jsonlite lifecycle ellipsis pkgconfig vctrs cli fansi pillar utf8 curl mime openssl askpass sys tibble stringr stringi httr selectr xml2 yaml evaluate digest highr xfun withr hms prettyunits rex lazyeval generics tidyselect purrr bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs brio callr desc pkgload praise processx ps waldo rprojroot rstudioapi diffobj rematch2 0 2 4 6 Imported methods 0 10 20 30 Required packages 0 5 10 15 Heaviness from parents clisymbols curl jsonlite rlang xml2 crayon httr tibble rvest knitr progress covr dplyr rmarkdown testthat In total 32 packages are required directly or indirectly (73) when installing 'foghorn' (1.4.2) Imports Suggests Base packages that are required Contributed packages that are required Packages that are required for installing 'foghorn' Imported functions


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on foghorn
rvest Imports 2 0 0 30 5
clisymbols Imports 1 0 0 0 1
curl Imports 1 0 0 0 0
jsonlite Imports 1 0 0 1 0
rlang Imports 3 0 0 1 0
xml2 Imports 3 0 0 1 0
crayon Imports 7 0 0 3 0
httr Imports 5 0 0 9 0
tibble Imports 2 0 0 15 0
testthat Suggests No object is imported into the namespace of foghorn. 36 17
rmarkdown Suggests No object is imported into the namespace of foghorn. 27 16
covr Suggests No object is imported into the namespace of foghorn. 20 7
knitr Suggests No object is imported into the namespace of foghorn. 12 5
dplyr Suggests No object is imported into the namespace of foghorn. 20 4
progress Suggests No object is imported into the namespace of foghorn. 14 3

The following table lists pairs of parent packages with co-heaviness larger than 10. The co-heaviness measures the number of additional dependencies that two parent packages simultaneously import and are only imported by the two parents.

Note the co-heaviness from parents can be always easily observed in the dependency heatmap.

Parent 1 Parent 2 Co-heaviness on foghorn Co-heaviness as Jaccard coeffcient
tibble rvest 11 0.688

Analysis was done with pkgndep.