Dependency analysis on package trtf

General information

CRAN link link
Package version0.4-0
Number of strong dependencies35
Number of all dependencies40
Number of parent packages11
Max heaviness from parent packages5
Total heaviness from parent packages8
Number of parent packages (including Suggests and Enhances)14
Max co-heaviness from parent packages ("tram" and "mlt")11

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests stats graphics methods grDevices utils grid splines parallel stats4 lattice Matrix survival mvtnorm zoo sandwich MASS libcoin Formula basefun variables BB alabama coneproj numDeriv polynom orthopolynom quadprog Rcpp RcppArmadillo multcomp TH.data codetools inum rpart mlt matrixStats modeltools 0 5 10 Imported methods 0 10 20 30 Required packages 0 2 4 Heaviness from parents partykit mlt tram grid stats utils grDevices Formula variables libcoin sandwich survival TH.data coin In total 35 packages are required directly or indirectly (40) when installing 'trtf' (0.4-0) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'trtf' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on trtf
tram Depends The whole set of functions/methods/classes from parent package is imported to the namespace of trtf. 30 5
partykit Depends The whole set of functions/methods/classes from parent package is imported to the namespace of trtf. 15 3
mlt Depends The whole set of functions/methods/classes from parent package is imported to the namespace of trtf. 23 0
grid Imports The whole set of functions/methods/classes from parent package is imported to the namespace of trtf. 0 0
stats Imports 10 0 0 0 0
utils Imports 2 0 0 0 0
grDevices Imports 1 0 0 0 0
Formula Imports The whole set of functions/methods/classes from parent package is imported to the namespace of trtf. 1 0
variables Imports 2 0 0 1 0
libcoin Imports 1 0 0 3 0
sandwich Imports 1 0 0 7 0
coin Suggests No object is imported into the namespace of trtf. 22 5
survival Suggests No object is imported into the namespace of trtf. 9 0
TH.data Suggests No object is imported into the namespace of trtf. 11 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 trtf Co-heaviness as Jaccard coeffcient
mlt tram 11 0.688

Analysis was done with pkgndep.