Skip to content

geodist

0.1.1Package record

Fast, Dependency-Free Geodesic Distance Calculations

24packages dependsuggested by 4
42.6Kdownloads / year
69.0%test coverage
13/13flavors OK

Overview

About

Dependency-free, ultra fast calculation of geodesic distances. Includes the reference nanometre-accuracy geodesic distances of Karney (2013) doi:10.1007/s00190-012-0578-z, as used by the 'sf' package, as well as Haversine and Vincenty distances. Default distance measure is the "Mapbox cheap ruler" which is generally more accurate than Haversine or Vincenty for distances out to a few hundred kilometres, and is considerably faster. The main function accepts one or two inputs in almost any generic rectangular form, and returns either matrices of pairwise distances, or vectors of sequential distances.

Changes in 0.1.1

Minor changes:

  • Updated 'geodesic.c' source code to fix clang compiler warning

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.3 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.1.1
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.1.1Citation fileNoWebsiteYes · pkgdown
Help pages
5includes a package overview page
Examples that run
100%5 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%
Vignettes (1)

Downloads

42.6K
CRAN downloads in the past year
Rank #2,159 · ~117/day · ~3.6K/mo
Daily download trend is not available in this view yet.
3.3K30 days
8.1K90 days
42.6K1 year
Compare downloads with other packages →
Also on805 r2u5 autocran626 conda_forge90 c2d4u

Repository

96Stars
8Forks
9Open issues
0Open PRs
7Releases
288Commits
7Commit identities
288 commits · Last activity 2026-10-02 · 0% stars, 30d · Default branch at 0.1.1.020, ahead of CRAN 0.1.1 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
92%
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2025-07-23 · 952026-07-07 · 96
PracticesBeta

12 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/hypertidy/geodist on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductContributing guide
Docs source (3)
README.Rmd

GitHub Pages site last deployed 2026-10-02 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting
Show all practicesHide 3 practices
CRAN release process (1)
cran-comments.md
Research and citation (1)
codemeta.json
Automation and maintenance (2)
Dependabotpre-commit
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)

Installing geodist adds no packages beyond those that come with R.

Depends (0)
none
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none

People & History

People (3)
Author, Maintainer since 0.0.1 (2018)
Copyright holder
Original author of included code for geodesic distances
Releases (9)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.1.1Latest
    record
    2025-03-24 · current release · diff ↗
  • 0.1.0
    record
    2024-05-23 · diff ↗ ·
    added 1 export
    geodist_min
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.0.8
    record
    2022-10-19 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.0.7
    record
    2021-01-27 · diff ↗
  • 0.0.6
    record
    2020-10-15 · diff ↗
  • 0.0.4
    record
    2020-05-19 · diff ↗ ·
    added 1 export
    geodist_vec
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 0.0.3
    record
    2019-04-17 · diff ↗
  • 0.0.2
    record
    2019-03-22 · diff ↗ ·
    added 1 export
    georange
Show 2 earlier eventsHide 2 earlier events
  • 0.0.1
    record
    2018-07-13
  • R
    R 3.5.0 released · 2018-04-23

Package metadata

First published
2018-07-13
Total releases
9 / 8 yrs
License
MIT + file LICENSE OSI
Download size
790 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("geodist")
Padgham, M., Karney, C. F. F., & Sumner, M. D. (2025). geodist: Fast, Dependency-Free Geodesic Distance Calculations (Version 0.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.geodist

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for geodist version 0.1.1 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy