Dependency analysis on package foghorn
General information
CRAN link | link |
---|---|
Package version | 1.4.2 |
Number of strong dependencies | 32 |
Number of all dependencies | 73 |
Number of parent packages | 9 |
Max heaviness from parent packages | 5 |
Total heaviness from parent packages | 6 |
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.
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.