Spherical Trigonometry
Overview
Spherical trigonometry for geographic applications. That is, compute distances and related measures for angular (longitude/latitude) locations.
Install
Health
WARNINGwhether package can be installedr-release-macos-x86_64
Found the following significant warnings: Math.cpp:59:8: warning: compound assignment to object of volatile-qualified type 'volatile float' is deprecated [-Wdeprecated-volatile] Math.cpp:60:9: warning: compound assignment to object of volatile-qualified type 'volatile float' is deprecated [-Wdeprecated-volatile] Math.cpp:59:8: warning: compound assignment to object of volatile-qualified type 'volatile double' is deprecated [-Wdeprecated-volatile] Math.cpp:60:9: warning: compound assignment to object of volatile-qualified type 'volatile double' is deprecated [-Wdeprecated-volatile] Math.cpp:59:8: warning: compound assignment to object of volatile-qualified type 'volatile long double' is deprecated [-Wdeprecated-volatile] Math.cpp:60:9: warning: compound assignment to object of volatile-qualified type 'volatile long double' is deprecated [-Wdeprecated-volatile] See ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/geosphere.Rcheck/00install.out’ for details. * used C compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ * used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’ * used SDK: ‘MacOSX11.3.1.sdk’
- WARNING12 OK, 1 WARNINGNow
- WARNING11 OK, 1 WARNING2026-04-25
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 44includes a package overview page
- Examples that run
- 98%41 run in a plain check · 1 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- Help pages citing references
- 66%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 72
- Median days to close, 50 most recently updated closed PRs
- 71
Stars over time
Forks over time
Issues over time
PRs over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/rspatial/geosphere on 2026-10-21.
Dependencies
Installing geosphere adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.
Show the 48 most downloaded dependentsHide the 48 most downloaded dependents
and 29 more dependents and 21 packages that suggest it on CRAN ↗
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- 3.0.3Latest
- RR 3.0.0 released · 2013-04-03
- RR 2.15.0 released · 2012-03-30
Show 59 earlier eventsHide 59 earlier events
- 2.15.02012-03-21 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 2.13.22011-09-19 · diff ↗
- 2.13.12011-06-20 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 2.12.22011-01-20 · diff ↗
- 2.12.12010-11-04 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 2.12.02010-09-08 · diff ↗
- 2.11.12010-04-23 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 2.11.02010-04-10 · diff ↗
- RR 2.10.0 released · 2009-10-26
- RR 2.9.0 released · 2009-04-17
- RR 2.8.0 released · 2008-10-20
- RR 2.7.0 released · 2008-04-22
- RR 2.6.0 released · 2007-10-03
- RR 2.5.0 released · 2007-04-24
- RR 2.4.0 released · 2006-10-03
- RR 2.3.0 released · 2006-04-24
- RR 2.2.0 released · 2005-10-06
- RR 2.1.0 released · 2005-04-18
- RR 2.0.0 released · 2004-10-04
- RR 1.9.0 released · 2004-04-12
- RR 1.8.0 released · 2003-10-08
- RR 1.7.0 released · 2003-04-16
- RR 1.6.0 released · 2002-10-01
- RR 1.5.0 released · 2002-04-29
- 2.0.0
- 1.6-82026-04-05 · diff ↗
- 1.6-52026-03-02 · diff ↗
- 1.5-202024-10-04 · diff ↗
- 1.5-182022-11-15 · diff ↗
- 1.5-142021-10-13 · diff ↗
- 1.5-102019-05-26 · diff ↗
- 1.5-7
- 1.5-52016-06-15 · diff ↗
- 1.5-12015-12-18 · diff ↗
- 1.4-32015-07-02 · diff ↗
- 1.3-132015-04-11 · diff ↗
- 1.3-112014-09-09 · diff ↗
- 1.3-82014-01-20 · diff ↗
- 1.2-282012-04-01 · diff ↗
- 1.2-272012-03-07 · diff ↗
- 1.2-262011-09-21 · diff ↗
- 1.2-252011-09-01 · diff ↗
- 1.2-242011-06-21 · diff ↗
- 1.2-232011-06-18 · diff ↗
- 1.2-212011-05-25 · diff ↗
- 1.2-192011-01-31 · diff ↗
- 1.2-182011-01-14 · diff ↗
- 1.2-152010-11-04 · diff ↗
- 1.2-132010-09-10 · diff ↗
- 1.2-102010-08-28 · diff ↗
- 1.2-72010-07-26 · diff ↗
- 1.2-42010-06-25 · diff ↗
- 1.2.12010-05-01 · diff ↗
- 1.1.22010-04-19 · diff ↗
- 1.0.02010-02-09
Package metadata
- First published
- 1977-08-08
- Total releases
- 40
- License
- GPL (>= 3) OSI
- Minimum R
- ≥ 3.0.0
- Bundled data
- 438 KB / 2 files
- Download size
- 859 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("geosphere")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.
From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.