astronomyengine
0.1.0R Bindings to the 'Astronomy Engine' C Library
Overview
Provides access to the 'Astronomy Engine' C library (https://github.com/cosinekitty/astronomy) by Don Cross. The library calculates positions of the Sun, Moon, and planets, and predicts astronomical events such as rise/set times, lunar phases, equinoxes, solstices, eclipses, and transits. It is based on the 'VSOP87' planetary model and is accurate to within approximately one arcminute. This package bundles the single-file C source so that other R packages can link against it via 'LinkingTo' without shipping their own copy.
Install
Health
- OK2026-04-2512 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- WARNING2026-03-1013 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 100%
- Return-value docs
- 99%
- References docs
- 0%
Downloads
Repository
Stars over time
Releases over time
Issues over time
Repository practices
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/mitchelloharawild/astronomyengine on 2026-07-19.
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 1.0 median / 4 max
- Test cases
- 34 / 0.17 per code line
Test coverage
Line coverage
28%
Expression
27.9%
Tests / Examples
27.6% / 61% ex
Functions
322 78 exported
Complexity
1.1 avg / 4 max
Call network
322 nodes / 233 edges
Call graph
Open call graph →Lowest coverage
322 functions| Function | Cyclo | Coverage |
|---|---|---|
| astro_bary_state exp | 1 | 0% |
| astro_combine_rotation exp | 1 | 0% |
| astro_ecliptic exp | 1 | 0% |
| astro_ecliptic_longitude exp | 1 | 0% |
| astro_geo_vector exp | 1 | 0% |
| astro_hour_angle exp | 1 | 0% |
People & History
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.1.0Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2026-02-27
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Download size
- 200 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet