Dependency analysis on package smooth

General information

CRAN link link
Package version3.1.6
Number of strong dependencies55
Number of all dependencies80
Number of parent packages13
Max heaviness from parent packages8
Total heaviness from parent packages10
Number of parent packages (including Suggests and Enhances)21
Max co-heaviness from parent packages ("nloptr" and "greybox")33

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports LinkingTo Suggests utils stats methods graphics grDevices tools grid parallel evaluate magrittr glue digest jsonlite R6 rlang brio callr cli crayon desc ellipsis lifecycle pkgload praise processx ps waldo withr rprojroot rstudioapi diffobj fansi rematch2 tibble pillar pkgconfig vctrs utf8 Rcpp testthat lattice generics pracma nloptr statmod zoo texreg httr curl mime openssl askpass sys iterators codetools foreach highr stringr yaml xfun stringi bslib htmltools jquerylib knitr tinytex sass base64enc fastmap fs rappdirs greybox smooth RcppArmadillo MASS 0 20 40 60 Imported methods 0 20 40 Required packages 0 5 10 15 Heaviness from parents greybox stats graphics grDevices utils generics Rcpp statmod pracma MASS zoo nloptr RcppArmadillo numDeriv foreach doMC doParallel knitr rmarkdown testthat legion In total 55 packages are required directly or indirectly (80) when installing 'smooth' (3.1.6) Depends Imports LinkingTo Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'smooth' 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 smooth.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on smooth
greybox Depends 37 0 0 52 8
MASS Imports 1 0 0 5 1
stats Imports 75 0 0 0 0
graphics Imports 9 0 0 0 0
grDevices Imports 3 0 0 0 0
utils Imports 3 0 0 0 0
generics Imports 1 0 0 1 0
Rcpp Imports The whole set of functions/methods/classes from parent package is imported to the namespace of smooth. 2 0
statmod Imports 3 0 0 2 0
pracma Imports 1 0 0 4 0
zoo Imports 1 0 0 6 0
nloptr Imports 1 0 0 37 0
RcppArmadillo LinkingTo Parent package is listed in LinkingTo of smooth but no object from parent package is imported. 4 1
rmarkdown Suggests No object is imported into the namespace of smooth. 27 16
knitr Suggests No object is imported into the namespace of smooth. 12 6
doMC Suggests No object is imported into the namespace of smooth. 5 5
doParallel Suggests No object is imported into the namespace of smooth. 5 5
foreach Suggests No object is imported into the namespace of smooth. 3 3
legion Suggests No object is imported into the namespace of smooth. 56 2
numDeriv Suggests No object is imported into the namespace of smooth. 0 1
testthat Suggests No object is imported into the namespace of smooth. 36 0

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 smooth Co-heaviness as Jaccard coeffcient
greybox nloptr 33 0.805

Analysis was done with pkgndep.