Skip to content

geosphere

1.6-8Package record

Spherical Trigonometry

77packages dependsuggested by 21
484.8Kdownloads / year
–test coverage
12/13flavors OK

Overview

About

Spherical trigonometry for geographic applications. That is, compute distances and related measures for angular (longitude/latitude) locations.

Install

Health

CRAN checks
1WARNING12OK
Check messages
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’

CRAN check page ↗

Slowest check: 4.0 min · r-devel-windows-x86_64
Status changes
  • WARNING12 OK, 1 WARNINGNow
  • WARNING11 OK, 1 WARNING2026-04-25
  • OK14 OK2026-04-22
  • ERROR13 OK, 1 ERROR2026-04-18
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.6-8
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

484.8K
CRAN downloads in the past year
Rank #633 · ~1.3K/day · ~40.4K/mo
Daily download trend is not available in this view yet.
31.4K30 days
92.2K90 days
484.8K1 year
Compare downloads with other packages →
Also on6.5K r2u240 autocran14.2K conda_forge328 c2d4u

Repository

41Stars
8Forks
2Open issues
0Open PRs
0Releases
53Commits
6Commit identities
53 commits · Last activity 2026-03-25 · 0% stars, 30d · The default branch showed an older version (1.6-7) than CRAN on 2026-10-21
Responsiveness
How these are sampled
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

2025-10-19 · 392026-07-07 · 41
PracticesBeta

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.

Continuous integration (1)
GitHub Actions
Governance and community (1)
Issue templates
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing geosphere adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (2)
R >= 3.0.0methods
Imports (1)
LinkingTo (1)
Suggests (3)
Enhances (0)
none

Datasets

People & History

People (4)
Maintainer since 1.0.0 (2010), Author
Contributor · added in 1.5-14
GeographicLib
Contributor
Contributor
Releases (40)

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
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • 3.0.3Latest
    record
    2014-01-17 · current release · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • R
    R 2.15.0 released · 2012-03-30
Show 59 earlier eventsHide 59 earlier events

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
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("geosphere")
Hijmans, R. J., Karney, C., Vennes, C., & Williams, E. (2026). geosphere: Spherical Trigonometry (Version 1.6-8) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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