Dependency analysis on package maptools

General information

CRAN link link
Package version1.1-4
Number of strong dependencies9
Number of all dependencies36
Number of parent packages8
Max heaviness from parent packages1
Total heaviness from parent packages2
Number of parent packages (including Suggests and Enhances)20
Max co-heaviness from parent packages ("lattice" and "sp")2

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests Enhances utils graphics stats methods grDevices grid splines lattice spatstat.data spatstat.utils deldir polyclip Matrix sp spatstat.geom spatstat.random spatstat.core spatstat.sparse nlme rpart mgcv abind tensor goftest Rcpp terra spatstat.linnet 0 2 4 6 Imported methods 0 10 20 Required packages 0 5 10 15 Heaviness from parents sp methods grid stats utils grDevices foreign lattice PBSmapping RColorBrewer polyclip maps plotrix spatstat.utils rgeos raster spatstat.geom spatstat.linnet spatstat gpclib In total 9 packages are required directly or indirectly (36) when installing 'maptools' (1.1-4) Depends Imports Suggests Enhances Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'maptools' Imported functions The whole namespace is imported


Dependency table

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

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on maptools
sp Depends The whole set of functions/methods/classes from parent package is imported to the namespace of maptools. 7 1
foreign Imports The whole set of functions/methods/classes from parent package is imported to the namespace of maptools. 3 1
methods Imports The whole set of functions/methods/classes from parent package is imported to the namespace of maptools. 0 0
grid Imports The whole set of functions/methods/classes from parent package is imported to the namespace of maptools. 0 0
stats Imports 6 0 0 0 0
utils Imports 5 0 0 0 0
grDevices Imports 4 0 0 0 0
lattice Imports 4 0 0 5 0
spatstat Suggests No object is imported into the namespace of maptools. 24 18
spatstat.linnet Suggests No object is imported into the namespace of maptools. 23 17
spatstat.geom Suggests No object is imported into the namespace of maptools. 12 6
raster Suggests No object is imported into the namespace of maptools. 10 3
PBSmapping Suggests No object is imported into the namespace of maptools. 0 1
RColorBrewer Suggests No object is imported into the namespace of maptools. 0 1
polyclip Suggests No object is imported into the namespace of maptools. 0 1
maps Suggests No object is imported into the namespace of maptools. 2 1
plotrix Suggests No object is imported into the namespace of maptools. 4 1
spatstat.utils Suggests No object is imported into the namespace of maptools. 5 1
rgeos Suggests No object is imported into the namespace of maptools. 8 1
gpclib Enhances No object is imported into the namespace of maptools. 2 1

Analysis was done with pkgndep.