traveltime: Calculate Travel Times Over Space

Calculate travel time across a landscape from a set of user-specified locations, over a friction surface describing the time taken to cross each cell. Implements the least-cost travel time approach of Weiss et al. (2018) <doi:10.1038/nature25181> and Weiss et al. (2020) <doi:10.1038/s41591-020-1059-1>, and provides convenient access to their global walking and motorised friction surfaces via the 'malariaAtlas' package. Travel times are computed with 'terra'. See Ryan et al. (2025) <doi:10.12688/gatesopenres.16356.1> for further details.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: cli, malariaAtlas, terra
Suggests: geodata, ggplot2, knitr, rmarkdown, testthat (≥ 3.0.0), tidyterra
Published: 2026-10-31
DOI: 10.32614/CRAN.package.traveltime (may not be active yet)
Author: Gerry Ryan ORCID iD [aut, cre], Daniel Weiss ORCID iD [aut], Nicholas Tierney ORCID iD [ctb]
Maintainer: Gerry Ryan <gerry.ryan at thekids.org.au>
BugReports: https://github.com/idem-lab/traveltime/issues
License: MIT + file LICENSE
Copyright: The 'stations' data contains information from the Land Transport Authority of Singapore, made available under the Singapore Open Data Licence version 1.0; see ?stations.
URL: https://idem-lab.github.io/traveltime/, https://github.com/idem-lab/traveltime
NeedsCompilation: no
Language: en-GB
Citation: traveltime citation info
Materials: README, NEWS
CRAN checks: traveltime results

Documentation:

Reference manual: traveltime.html , traveltime.pdf
Vignettes: A practical example: walking from public transport in Singapore (source)

Downloads:

Package source: traveltime_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): traveltime_1.0.0.tgz, r-oldrel (arm64): traveltime_1.0.0.tgz, r-release (x86_64): traveltime_1.0.0.tgz, r-oldrel (x86_64): traveltime_1.0.0.tgz

Linking:

Please use the canonical form https://CRAN.R-project.org/package=traveltime to link to this page.