Dependency analysis on package stm

General information

CRAN link link
Package version1.3.6
Number of strong dependencies37
Number of all dependencies94
Number of parent packages18
Max heaviness from parent packages8
Total heaviness from parent packages23
Number of parent packages (including Suggests and Enhances)32
Max co-heaviness from parent packages ("quanteda" and "stringr")3

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports LinkingTo Suggests methods utils stats graphics grDevices grid tools splines parallel Rcpp lattice magrittr Matrix stringi glue xml2 RcppEigen yaml foreach shape survival codetools iterators fastmatch RcppParallel SnowballC stopwords RcppArmadillo ISOcodes pkgconfig digest evaluate RColorBrewer cluster proxy RJSONIO magic lpSolve linprog RcppProgress abind NLP slam BH igraph MASS commonmark hunspell knitr highr stringr xfun brio callr cli crayon desc ellipsis jsonlite lifecycle pkgload praise processx ps R6 rlang waldo withr rprojroot rstudioapi diffobj fansi rematch2 tibble pillar vctrs utf8 0 10 20 Imported methods 0 10 20 30 Required packages 0 10 20 30 Heaviness from parents methods grDevices graphics lda matrixStats parallel quadprog splines stats utils data.table slam Rcpp Matrix stringr glmnet quanteda RcppArmadillo SnowballC KernSmooth NLP Rtsne wordcloud clue LDAvis geometry rsvd igraph tm huge spelling testthat In total 37 packages are required directly or indirectly (94) when installing 'stm' (1.3.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 'stm' 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 stm.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on stm
methods Depends 1 0 0 0 0
quanteda Imports Parent package is listed in Imports of stm but no object from parent package is imported. 20 8
glmnet Imports Parent package is listed in Imports of stm but no object from parent package is imported. 16 7
stringr Imports Parent package is listed in Imports of stm but no object from parent package is imported. 7 2
lda Imports Parent package is listed in Imports of stm but no object from parent package is imported. 0 1
matrixStats Imports Parent package is listed in Imports of stm but no object from parent package is imported. 0 1
parallel Imports Parent package is listed in Imports of stm but no object from parent package is imported. 0 1
quadprog Imports Parent package is listed in Imports of stm but no object from parent package is imported. 0 1
data.table Imports The whole set of functions/methods/classes from parent package is imported to the namespace of stm. 1 1
slam Imports Parent package is listed in Imports of stm but no object from parent package is imported. 1 1
grDevices Imports Parent package is listed in Imports of stm but no object from parent package is imported. 0 0
graphics Imports 12 0 0 0 0
splines Imports Parent package is listed in Imports of stm but no object from parent package is imported. 0 0
stats Imports 23 0 0 0 0
utils Imports Parent package is listed in Imports of stm but no object from parent package is imported. 0 0
Rcpp Imports 1 0 0 2 0
Matrix Imports The whole set of functions/methods/classes from parent package is imported to the namespace of stm. 7 0
RcppArmadillo LinkingTo Parent package is listed in LinkingTo of stm but no object from parent package is imported. 4 0
testthat Suggests No object is imported into the namespace of stm. 36 29
spelling Suggests No object is imported into the namespace of stm. 18 8
geometry Suggests No object is imported into the namespace of stm. 8 6
huge Suggests No object is imported into the namespace of stm. 14 4
LDAvis Suggests No object is imported into the namespace of stm. 6 3
tm Suggests No object is imported into the namespace of stm. 11 3
wordcloud Suggests No object is imported into the namespace of stm. 4 2
clue Suggests No object is imported into the namespace of stm. 6 2
igraph Suggests No object is imported into the namespace of stm. 10 2
KernSmooth Suggests No object is imported into the namespace of stm. 1 1
NLP Suggests No object is imported into the namespace of stm. 1 1
Rtsne Suggests No object is imported into the namespace of stm. 4 1
rsvd Suggests No object is imported into the namespace of stm. 8 1
SnowballC Suggests No object is imported into the namespace of stm. 0 0

Analysis was done with pkgndep.