Skip to content

astronomyengine

R Bindings to the 'Astronomy Engine' C Library

v0.1.0 · Feb 27, 2026 · MIT + file LICENSE

Description

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.

Downloads

133

Last 30 days

22762nd

133

Last 90 days

133

Last year

CRAN Check Status

1 WARNING
13 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 WARNING
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
OK r-devel-linux-x86_64-debian-gcc

*


            
OK r-devel-linux-x86_64-fedora-clang

*


            
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK r-devel-macos-arm64

*


            
OK r-devel-windows-x86_64

*


            
OK r-oldrel-macos-arm64

*


            
OK r-oldrel-macos-x86_64

*


            
WARNING r-oldrel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  ../inst/include/astronomy/astronomy.c:1584:19: warning: invalid use of pointers to arrays with different qualifiers in ISO C before C2X [-Wpedantic]
  ../inst/include/astronomy/astronomy.c:1596:19: warning: invalid use of pointers to arrays with different qualifiers in ISO C before C2X [-Wpedantic]
  ../inst/include/astronomy/astronomy.c:1597:19: warning: invalid use of pointers to arrays with different qualifiers in ISO C before C2X [-Wpedantic]
  ../inst/include/astronomy/astronomy.c:1733:20: warning: invalid use of pointers to arrays with different qualifiers in ISO C before C2X [-Wpedantic]
  ../inst/include/astronomy/astronomy.c:1745:20: warning: invalid use of pointers to arrays with different qualifiers in ISO C before C2X [-Wpedantic]
  ../inst/include/astronomy/astronomy.c:1746:20: warning: invalid use of pointers to arrays with different qualifiers in ISO C before C2X [-Wpedantic]
See 'd:/Rcompile/CRANpkg/local/4.4/astronomyengine.Rcheck/00install.out' for details.
* used C compiler: 'gcc.exe (GCC) 13.3.0'
* used C++ compiler: 'g++.exe (GCC) 13.3.0'
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

WARNING 13 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
WARNING r-oldrel-windows-x86_64

whether package can be installed

Found the following significant warnings:
  ../inst/include/astronomy/astronomy.c:1584:19: warning: invalid use of pointers to arrays with different qualifiers in ISO C before C2X [-Wpedantic]
  ../inst/include/astronomy/astronomy.c:1596:19: warning: invalid use of pointers to arrays with different qualifiers in ISO C before C2X [-Wpedantic]
  ../inst/include/astronomy/astronomy.c:1597:19: warning: invalid use of pointers to arrays with different qualifiers in ISO C before C2X [-Wpedantic]
  ../

Version History

new 0.1.0 Mar 9, 2026