astronomyengine: R Bindings to the 'Astronomy Engine' C Library

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.

Version: 0.1.0
LinkingTo: cpp11
Suggests: testthat (≥ 3.0.0)
Published: 2026-02-27
DOI: 10.32614/CRAN.package.astronomyengine (may not be active yet)
Author: Mitchell O'Hara-Wild ORCID iD [aut, cre], Don Cross [aut, cph] (Author of the bundled Astronomy Engine C library)
Maintainer: Mitchell O'Hara-Wild <mail at mitchelloharawild.com>
BugReports: https://github.com/mitchelloharawild/astronomyengine/issues
License: MIT + file LICENSE
URL: https://github.com/mitchelloharawild/astronomyengine
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: astronomyengine results

Documentation:

Reference manual: astronomyengine.html , astronomyengine.pdf

Downloads:

Package source: astronomyengine_0.1.0.tar.gz
Windows binaries: r-devel: astronomyengine_0.1.0.zip, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): astronomyengine_0.1.0.tgz, r-oldrel (arm64): astronomyengine_0.1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=astronomyengine to link to this page.