astronomyengine
R Bindings to the 'Astronomy Engine' C Library
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
354
Last 30 days
10827th
442
Last 90 days
442
Last year
Trend: +302.3% (30d vs prior 30d)
CRAN Check Status
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 (1 non-OK)
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'
Check History
WARNING 13 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
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: ...[truncated]... 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'