Dependency analysis on package sf

General information

CRAN link link
Package version1.0-7
Number of strong dependencies19
Number of all dependencies165
Number of parent packages13
Max heaviness from parent packages6
Total heaviness from parent packages13
Number of parent packages (including Suggests and Enhances)47
Max co-heaviness from parent packages ("classInt" and "graphics")1

Dependency heatmap

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

Adjust heatmap size:
Base packages Other packages Depends Imports Suggests methods utils grDevices stats graphics grid tools splines parallel stats4 Rcpp MASS wk e1071 class KernSmooth proxy rlang glue cli vctrs magrittr ellipsis lattice lifecycle pkgconfig DBI R6 crayon fansi utf8 Matrix pillar digest withr tibble yaml jsonlite mgcv nlme purrr xfun spatstat.data spatstat.utils deldir polyclip fastmap units sf classInt s2 abind sp terra evaluate spatstat.geom bit64 blob bit lazyeval mime generics cpp11 base64enc htmltools gtable isoband scales farver labeling munsell RColorBrewer viridisLite colorspace later highr stringr stringi hms plogr tidyselect spatstat.random spatstat.core rpart spatstat.sparse tensor goftest lwgeom callr processx ps htmlwidgets leafem leaflet png raster geojsonsf crosstalk markdown viridis leaflet.providers geometries jsonify rapidjsonr sfheaders ggplot2 gridExtra memoise cachem rex httr curl openssl askpass sys dplyr lubridate spatstat.linnet bslib jquerylib knitr tinytex sass fs rappdirs brio desc pkgload praise waldo rprojroot rstudioapi diffobj rematch2 tmaptools stars widgetframe leafsync dichromat XML leafpop satellite servr webshot brew svglite uuid plyr httpuv systemfonts promises 0 5 10 Imported methods 0 20 40 60 80 Required packages 0 20 40 60 Heaviness from parents methods graphics grDevices grid magrittr stats tools utils DBI Rcpp units s2 classInt wk rlang maps microbenchmark RPostgreSQL terra spatstat.utils vctrs blob Matrix pool sp tidyselect raster knitr pillar spatstat.geom spatstat.random tibble odbc RSQLite covr dplyr lwgeom tidyr RPostgres spatstat.linnet spatstat stars rmarkdown testthat ggplot2 tmap mapview In total 19 packages are required directly or indirectly (165) when installing 'sf' (1.0-7) Depends Imports Suggests Base packages that are required Recommended packages that are required Contributed packages that are required Packages that are required for installing 'sf' Imported functions Imported S4 methods Imported S4 classes 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 sf.

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

Parent package Field imports importMethods importClasses Required packages Heaviness from parent on sf
methods Depends 5 0 0 0 0
classInt Imports 1 0 0 10 6
s2 Imports Parent package is listed in Imports of sf but no object from parent package is imported. 4 2
grid Imports 13 0 0 0 1
magrittr Imports 1 0 0 0 1
tools Imports 2 0 0 0 1
DBI Imports 7 2 1 1 1
units Imports 4 0 0 3 1
graphics Imports The whole set of functions/methods/classes from parent package is imported to the namespace of sf. 0 0
grDevices Imports 2 0 0 0 0
stats Imports 6 0 0 0 0
utils Imports 6 0 0 0 0
Rcpp Imports 1 0 0 2 0
mapview Suggests No object is imported into the namespace of sf. 92 74
tmap Suggests No object is imported into the namespace of sf. 85 67
testthat Suggests No object is imported into the namespace of sf. 36 30
ggplot2 Suggests No object is imported into the namespace of sf. 37 30
rmarkdown Suggests No object is imported into the namespace of sf. 27 22
tidyr Suggests No object is imported into the namespace of sf. 22 19
spatstat Suggests No object is imported into the namespace of sf. 24 19
spatstat.linnet Suggests No object is imported into the namespace of sf. 23 18
dplyr Suggests No object is imported into the namespace of sf. 20 17
RPostgres Suggests No object is imported into the namespace of sf. 23 17
covr Suggests No object is imported into the namespace of sf. 20 15
RSQLite Suggests No object is imported into the namespace of sf. 17 13
tibble Suggests No object is imported into the namespace of sf. 15 12
odbc Suggests No object is imported into the namespace of sf. 16 12
pillar Suggests No object is imported into the namespace of sf. 12 10
knitr Suggests No object is imported into the namespace of sf. 12 8
spatstat.random Suggests No object is imported into the namespace of sf. 13 8
tidyselect Suggests No object is imported into the namespace of sf. 9 7
spatstat.geom Suggests No object is imported into the namespace of sf. 12 7
stars Suggests No object is imported into the namespace of sf. 24 6
blob Suggests No object is imported into the namespace of sf. 6 5
vctrs Suggests No object is imported into the namespace of sf. 5 4
pool Suggests No object is imported into the namespace of sf. 7 4
raster Suggests No object is imported into the namespace of sf. 10 4
Matrix Suggests No object is imported into the namespace of sf. 7 2
sp Suggests No object is imported into the namespace of sf. 7 2
lwgeom Suggests No object is imported into the namespace of sf. 20 2
rlang Suggests No object is imported into the namespace of sf. 1 1
maps Suggests No object is imported into the namespace of sf. 2 1
microbenchmark Suggests No object is imported into the namespace of sf. 2 1
RPostgreSQL Suggests No object is imported into the namespace of sf. 2 1
terra Suggests No object is imported into the namespace of sf. 3 1
spatstat.utils Suggests No object is imported into the namespace of sf. 5 1
wk Suggests No object is imported into the namespace of sf. 0 0

Analysis was done with pkgndep.