Skip to content

astronomyengine

0.1.0

R Bindings to the 'Astronomy Engine' C Library

0packages depend
1.2Kdownloads / year
27.6%test coverage
13/13checks pass

Overview

About
Maintained by Mitchell O'Hara-WildFirst published 2026-02-271 releasesCRAN page ↗GitHub ↗

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

CRAN checks
13OK
Slowest check: 3.0 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.17
27.6%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-03-10
    13 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 471 wordsVignettesNopkgdown siteNoNEWSYes · 67% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
99%
References docs
0%

Downloads

1.2K
CRAN downloads in the past year
Rank #18,298 · ~3/day · ~98/mo
Daily download trend is not available in this view yet.
21630 days
64690 days
1.2K1 year
Compare downloads with other packages →
Also on161 r2u32 autocran

Repository

Repository
2Stars
0Forks
0Open issues
0Open PRs
1Releases
32Commits
1Contributors
32 commits · Last activity 2026-03-02 · 0% stars, 30d

Stars over time

2026-03-05 · 12026-07-07 · 2

Repository practices

Upstream repositoryBeta

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.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Governance and community (2)
Issue templatesSupport guide
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (0)
none
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 3,557 (43%)Rd 2,801 (34%)C++ 1,840 (22%)C 2 (0%)
Code characteristics
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

Loading call graph…

Lowest coverage

322 functions
FunctionCycloCoverage
astro_bary_state exp10%
astro_combine_rotation exp10%
astro_ecliptic exp10%
astro_ecliptic_longitude exp10%
astro_geo_vector exp10%
astro_hour_angle exp10%

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author, Copyright holder
Copyright holders (1)
Author, Copyright holder
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-03-10 · current release
  • R
    R 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
Report a problem with this page →