Dependency analysis on package mgcv

General information

CRAN link link
Package version1.8-40
Number of strong dependencies10
Number of all dependencies13
Number of parent packages7
Max heaviness from parent packages1
Total heaviness from parent packages3
Number of parent packages (including Suggests and Enhances)10
Max co-heaviness from parent packages ("Matrix" and "nlme")3

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests graphics stats utils grDevices grid methods splines lattice Matrix 0 20 40 60 80 Imported methods 0 2 4 6 8 Required packages 0 0.5 1 Heaviness from parents nlme methods stats graphics splines utils Matrix parallel MASS survival In total 10 packages are required directly or indirectly (13) when installing 'mgcv' (1.8-40) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'mgcv' Imported functions Imported S4 methods


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on mgcv
nlme Depends 10 0 0 6 1
splines Imports 1 0 0 0 1
Matrix Imports 5 7 0 7 1
methods Imports 2 0 0 0 0
stats Imports 77 0 0 0 0
graphics Imports 19 0 0 0 0
utils Imports 3 0 0 0 0
parallel Suggests No object is imported into the namespace of mgcv. 0 1
MASS Suggests No object is imported into the namespace of mgcv. 5 1
survival Suggests No object is imported into the namespace of mgcv. 9 1

Analysis was done with pkgndep.