Skip to content

astronomyengine

0.1.0Package record

R Bindings to the 'Astronomy Engine' C Library

0packages depend
1.9Kdownloads / year
27.6%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.1.0

Initial CRAN release of astronomyengine package

New features

  • R bindings to the Astronomy Engine C library, providing accurate astronomical calculations
  • Support for calculating positions of the Sun, Moon, and planets
  • Single-file header + source bundling of the Astronomy Engine C library for use by other R packages via LinkingTo
  • Accuracy of approximately ±1 arcminute based on the VSOP87 planetary model
  • Full support for location-based calculations based on longitude, latitude, and height
  • POSIXct time input for all functions with UTC timezone support

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK12 OK2026-04-25
Show 1 earlier changeHide 1 earlier change
  • WARNING13 OK, 1 WARNING2026-03-10
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 471 wordsVignettesNoNEWSYes · 67% structured · mentions 0.1.0Citation fileNo
Help pages
75 (1 internal)includes a package overview page
Examples that run
100%74 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
99%
Help pages citing references
0%

Downloads

1.9K
CRAN downloads in the past year
Rank #18,179 · ~5/day · ~161/mo
Daily download trend is not available in this view yet.
21930 days
71890 days
1.9K1 year
Compare downloads with other packages →
Also on223 r2u30 autocran

Repository

2Stars
0Forks
0Open issues
0Open PRs
1Releases
32Commits
1Commit identities
32 commits · Last activity 2026-03-02 · 0% stars, 30d · Default branch at 0.1.0.9000, ahead of CRAN 0.1.0 (checked 2026-10-21)
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
7
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

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

11 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/mitchelloharawild/astronomyengine on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (4)
Code of conductContributing guideIssue templatesSupport guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-03-02 · The repository has a site deploy workflow

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
2 external dependencies (excludes base and recommended)

Installing astronomyengine adds 1 package (0 with compiled code, 298 KB of source tarballs). Heaviest: cpp11 298 KB.

Depends (0)
none
Imports (0)
none
LinkingTo (1)
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2026)
Author, Copyright holder
Author of the bundled Astronomy Engine C library
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0Latest
    2026-02-27 · 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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("astronomyengine")
O'Hara-Wild, M., & Cross, D. (2026). astronomyengine: R Bindings to the 'Astronomy Engine' C Library (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.astronomyengine

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for astronomyengine version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy