gdistance: Distances and Routes on Geographical Grids
Provides classes and functions to calculate various 
             distance measures and routes in heterogeneous geographic 
             spaces represented as grids. The package implements measures
             to model dispersal histories first presented by van Etten and
             Hijmans (2010) <doi:10.1371/journal.pone.0012060>. Least-cost
             distances as well as more complex distances based on (constrained)
             random walks can be calculated. The distances implemented in 
             the package are used in geographical genetics, accessibility 
             indicators, and may also have applications in other fields of
             geospatial analysis.
| Version: | 1.6.5 | 
| Depends: | R (≥ 3.2.0), raster (≥ 1.9-19), methods, igraph (≥ 0.7.0), Matrix | 
| Imports: | sp, stats, terra | 
| Suggests: | knitr, markdown, rmarkdown, testthat (≥ 2.1.0) | 
| Published: | 2025-09-27 | 
| DOI: | 10.32614/CRAN.package.gdistance | 
| Author: | Jacob van Etten  [aut],
  KauĂȘ de Sousa  [ctb],
  Andrew Marx  [cre,
    ctb] | 
| Maintainer: | Andrew Marx  <ajm.rpackages at gmail.com> | 
| BugReports: | https://github.com/AgrDataSci/gdistance/issues | 
| License: | GPL-2 | GPL-3 [expanded from: GPL (≥ 2)] | 
| URL: | https://AgrDataSci.github.io/gdistance/ | 
| NeedsCompilation: | no | 
| Citation: | gdistance citation info | 
| Materials: | NEWS | 
| In views: | Spatial | 
| CRAN checks: | gdistance results | 
Documentation:
Downloads:
Reverse dependencies:
| Reverse depends: | ctmcmove, ipdw | 
| Reverse imports: | gen3sis, graph4lg, marmap, memgene, movecost, poems, PopGenReport, pressuRe, red, topoDistance, wingen | 
| Reverse suggests: | actel, dartR, dartR.base, dartR.spatial, phylin, roads, samc, secr | 
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=gdistance
to link to this page.