Dependency analysis on package SGP

General information

CRAN link link
Package version2.0-0.0
Number of strong dependencies109
Number of all dependencies122
Number of parent packages31
Max heaviness from parent packages32
Total heaviness from parent packages53
Number of parent packages (including Suggests and Enhances)34
Max co-heaviness from parent packages ("randomNames" and "toOrdinal")12

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Imports Suggests utils methods stats grDevices graphics tools grid parallel splines stats4 digest glue R6 rlang magrittr vctrs cli pkgconfig jsonlite crayon evaluate iterators codetools processx ps MASS Matrix lattice fastmap tibble withr lifecycle ellipsis pillar fansi utf8 data.table yaml foreach SparseM MatrixModels survival Rcpp testthat brio callr desc pkgload praise waldo rprojroot rstudioapi diffobj rematch2 base64enc htmltools rngtools bit64 blob DBI memoise plogr bit cachem mnormt numDeriv quantreg toOrdinal ggplot2 scales httr viridisLite htmlwidgets tidyr RColorBrewer dplyr lazyeval crosstalk purrr promises gtable isoband mgcv farver labeling munsell curl mime openssl tidyselect cpp11 generics later nlme colorspace askpass sys highr stringr xfun stringi bslib jquerylib knitr tinytex sass fs rappdirs 0 5 10 15 Imported methods 0 20 40 60 Required packages 0 10 20 30 Heaviness from parents datasets graphics grid grDevices matrixStats methods parallel splines stats utils data.table digest iterators jsonlite Cairo gridBase crayon foreach gtools callr colorspace equate doParallel rngtools doRNG quantreg RSQLite sn toOrdinal randomNames plotly SGPdata knitr rmarkdown In total 109 packages are required directly or indirectly (122) when installing 'SGP' (2.0-0.0) Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'SGP' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on SGP
plotly Imports 1 0 0 63 32
RSQLite Imports 9 0 0 17 8
sn Imports 1 0 0 17 4
datasets Imports The whole set of functions/methods/classes from parent package is imported to the namespace of SGP. 0 1
matrixStats Imports 1 0 0 0 1
Cairo Imports 2 0 0 2 1
gridBase Imports 1 0 0 2 1
gtools Imports 1 0 0 3 1
equate Imports 2 0 0 4 1
doParallel Imports 1 0 0 5 1
doRNG Imports 1 0 0 9 1
randomNames Imports 1 0 0 39 1
graphics Imports 3 0 0 0 0
grid Imports The whole set of functions/methods/classes from parent package is imported to the namespace of SGP. 0 0
grDevices Imports 8 0 0 0 0
methods Imports The whole set of functions/methods/classes from parent package is imported to the namespace of SGP. 0 0
parallel Imports 10 0 0 0 0
splines Imports 1 0 0 0 0
stats Imports 18 0 0 0 0
utils Imports 11 0 0 0 0
data.table Imports The whole set of functions/methods/classes from parent package is imported to the namespace of SGP. 1 0
digest Imports 1 0 0 1 0
iterators Imports 1 0 0 1 0
jsonlite Imports 1 0 0 1 0
crayon Imports 5 0 0 3 0
foreach Imports 3 0 0 3 0
callr Imports 1 0 0 4 0
colorspace Imports 2 0 0 4 0
rngtools Imports 2 0 0 5 0
quantreg Imports 1 0 0 13 0
toOrdinal Imports 1 0 0 37 0
rmarkdown Suggests No object is imported into the namespace of SGP. 27 12
knitr Suggests No object is imported into the namespace of SGP. 12 5
SGPdata Suggests No object is imported into the namespace of SGP. 5 1

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 SGP Co-heaviness as Jaccard coeffcient
toOrdinal randomNames 12 0.923

Analysis was done with pkgndep.