Skip to content

geosphere

1.6-8

Spherical Trigonometry

95packages depend
570.3Kdownloads / year
test coverage
12/13checks pass

Overview

About
Maintained by Robert J. HijmansFirst published 2010-02-0940 releasesCRAN page ↗GitHub ↗

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

Install

Health

CRAN checks
1WARNING12OK
Failing flavors
  • WARNING r-release-macos-x86_64
Slowest check: 3.3 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
2
Dependencies · direct
Check history
  • WARNING2026-04-25
    11 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
98%
Documented parameters
not tracked
Return-value docs
not tracked
References docs
66%

Downloads

570.3K
CRAN downloads in the past year
Rank #620 · ~1.6K/day · ~47.5K/mo
Daily download trend is not available in this view yet.
29K30 days
107.2K90 days
570.3K1 year
Compare downloads with other packages →
Also on4.6K r2u250 autocran13.7K conda_forge316 c2d4u

Repository

Repository
41Stars
8Forks
2Open issues
0Open PRs
0Releases
53Commits
6Contributors
53 commits · Last activity 2026-03-25 · 0% stars, 30d

Stars over time

2025-05-30 · 382026-07-07 · 41

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/rspatial/geosphere on 2026-07-19.

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

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.0.0methods
Imports (1)
LinkingTo (1)
Suggests (3)
Enhances (0)
none

Code & Tests

Code Composition
C 9,630 (39%)C++ 9,530 (39%)R 2,785 (11%)Rd 2,138 (9%)Vignettes 337 (1%)
Code characteristics
Object systems
S4 generic4S4 method16
Cyclomatic complexity
2.0 median / 31 max

Test coverage

Line coverage

Expression

Tests / Examples

Functions

359 0 exported

Complexity

3.5 avg / 31 max

Call network

359 nodes / 148 edges

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (4)
Maintainer (1)
Maintainer, Author
Authors (1)
Maintainer, Author
Contributors (3)
Contributor · added in 1.5-14
Contributor
Contributor
Package Timeline

40 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.6-8Latest
    2026-04-06 · current release · diff ↗
  • 1.6-5
    2026-03-02 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.5-20
    2024-10-04 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.5-18
    2022-11-15 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 1.5-14
    2021-10-13 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 1.5-10
    2019-05-26 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.5-7
    2017-11-05 · diff ↗
Show 59 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • 1.5-5
    2016-06-15 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.5-1
    2015-12-18 · diff ↗
  • 1.4-3
    2015-07-02 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.3-13
    2015-04-11 · diff ↗
  • 1.3-11
    2014-09-09 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • 1.3-8
    2014-01-20 · diff ↗
  • 3.0.3
    2014-01-17 · diff ↗
  • R
    R 3.0.0 released · 2013-04-03
  • 1.2-28
    2012-04-01 · diff ↗
  • R
    R 2.15.0 released · 2012-03-30
  • 2.15.0
    2012-03-21 · diff ↗
  • 1.2-27
    2012-03-07 · diff ↗
  • R
    R 2.14.0 released · 2011-10-31
  • 1.2-26
    2011-09-21 · diff ↗
  • 2.13.2
    2011-09-19 · diff ↗
  • 1.2-25
    2011-09-01 · diff ↗
  • 1.2-24
    2011-06-21 · diff ↗
  • 2.13.1
    2011-06-20 · diff ↗
  • 1.2-23
    2011-06-18 · diff ↗
  • 1.2-21
    2011-05-25 · diff ↗
  • R
    R 2.13.0 released · 2011-04-13
  • 1.2-19
    2011-01-31 · diff ↗
  • 2.12.2
    2011-01-20 · diff ↗
  • 1.2-18
    2011-01-14 · diff ↗
  • 2.12.1
    2010-11-04 · diff ↗
  • 1.2-15
    2010-11-04 · diff ↗
  • R
    R 2.12.0 released · 2010-10-15
  • 1.2-13
    2010-09-10 · diff ↗
  • 2.12.0
    2010-09-08 · diff ↗
  • 1.2-10
    2010-08-28 · diff ↗
  • 1.2-7
    2010-07-26 · diff ↗
  • 1.2-4
    2010-06-25 · diff ↗
  • 1.2.1
    2010-05-01 · diff ↗
  • 2.11.1
    2010-04-23 · diff ↗
  • R
    R 2.11.0 released · 2010-04-22
  • 1.1.2
    2010-04-19 · diff ↗
  • 2.11.0
    2010-04-10 · diff ↗
  • 1.0.0
    2010-02-09 · diff ↗
  • R
    R 2.10.0 released · 2009-10-26
  • R
    R 2.9.0 released · 2009-04-17
  • R
    R 2.8.0 released · 2008-10-20
  • R
    R 2.7.0 released · 2008-04-22
  • R
    R 2.6.0 released · 2007-10-03
  • R
    R 2.5.0 released · 2007-04-24
  • R
    R 2.4.0 released · 2006-10-03
  • R
    R 2.3.0 released · 2006-04-24
  • R
    R 2.2.0 released · 2005-10-06
  • R
    R 2.1.0 released · 2005-04-18
  • R
    R 2.0.0 released · 2004-10-04
  • R
    R 1.9.0 released · 2004-04-12
  • R
    R 1.8.0 released · 2003-10-08
  • R
    R 1.7.0 released · 2003-04-16
  • R
    R 1.6.0 released · 2002-10-01
  • R
    R 1.5.0 released · 2002-04-29
  • 2.0.0
    1977-08-08

Package metadata

First published
2010-02-09
Total releases
40 / 16 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.0.0
Bundled data
438 KB / 2 files
Download size
859 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →