Skip to content

swephR

0.3.2Package record

High Precision Swiss Ephemeris

2packages depend
10.8Kdownloads / year
44.0%test coverage
13/13flavors OK

Overview

About

The Swiss Ephemeris (version 2.10.03) is a high precision ephemeris based upon the DE431 ephemerides from NASA's JPL. It covers the time range 13201 BCE to 17191 CE. This package uses the semi-analytic theory by Steve Moshier. For faster and more accurate calculations, the compressed Swiss Ephemeris data is available in the 'swephRdata' package. To access this data package, run 'install.packages("swephRdata", repos = "https://rstub.r-universe.dev", type = "source")'. The size of the 'swephRdata' package is approximately 115 MB. The user can also use the original JPL DE431 data.

Changes in 0.3.2
  • Add files seorbel.txt (fictitious bodies) and seleapsec.txt (leap seconds)
  • Update sefstars.txt (fixed stars)
  • Make sure that unused code does not linger after compilation, triggering a warning on CRAN

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.4 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-30
  • WARNING12 OK, 1 WARNING2026-07-29
  • OK12 OK2026-04-25
Show 3 earlier changesHide 3 earlier changes
  • NOTE11 OK, 3 NOTE2026-04-22
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 0.3.2
READMEYes · 245 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 0.3.2Citation fileYes · cites a publicationWebsiteYes · pkgdown
Help pages
16includes a package overview page
Examples that run
100%14 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
93%
Help pages citing references
0%
Vignettes (1)

Downloads

10.8K
CRAN downloads in the past year
Rank #3,204 · ~30/day · ~904/mo
Daily download trend is not available in this view yet.
1.8K30 days
3.7K90 days
10.8K1 year
Compare downloads with other packages →
Also on444 r2u4 autocran98 c2d4u

Repository

11Stars
2Forks
3Open issues
1Open PRs
5Releases
367Commits
3Commit identities
ephemerisr
367 commits · Last activity 2025-03-29 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
87%
Median days to close, 50 most recently updated closed issues
6
Median days to close, 50 most recently updated closed PRs
2

Stars over time

2024-07-08 · 92026-07-07 · 11
PracticesBeta

9 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/rstub/swephr on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Docs source (3)
README.Rmd

GitHub Pages site last deployed 2025-03-29 · The repository has a site deploy workflow

Coverage (1)
Coverage reporting (Codecov)
CRAN release process (1)
cran-comments.md
Show all practicesHide 2 practices
Lint, format, editor (1)
RStudio project
Git structural (1)
Submodules
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing swephR adds 1 package (1 with compiled code, 1.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB.

Depends (0)
none
Imports (1)
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
2direct
4indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (3)
Author, Maintainer since 0.1.3 (2019)
Releases (8)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.2Latest
    record
    2025-03-29 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.1
    record
    2023-05-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
  • 0.3.0
    record
    2019-08-28 · diff ↗ ·
    added 19 exports
    swe_get_library_path, swe_get_orbital_elements, swe_jdet_to_utc, swe_jdut1_to_utc, swe_lat_to_lmt, swe_lmt_to_lat, swe_lun_occult_when_glob, swe_lun_occult_when_loc, swe_lun_occult_where, swe_nod_aps, swe_nod_aps_ut, swe_orbit_max_min_true_distance, swe_refrac, swe_sol_eclipse_how, swe_sol_eclipse_when_glob, swe_sol_eclipse_where, swe_time_equ, swe_utc_time_zone, swe_utc_to_jd
  • 0.2.1
    record
    2019-07-08 · diff ↗
  • 0.2.0
    record
    2019-07-05 · diff ↗ ·
    added 10 exports
    swe_gauquelin_sector, swe_get_ayanamsa_ex, swe_get_ayanamsa_ex_ut, swe_get_ayanamsa_name, swe_house_name, swe_house_pos, swe_houses_armc, swe_houses_ex, swe_set_sid_mode, swe_sidtime
  • R
    R 3.6.0 released · 2019-04-26
  • unarchivedReturned to CRAN
    2019-02-18
  • 0.1.5
    record
    2019-02-18 · diff ↗
  • archivedRemoved from CRAN
    2019-02-02
    non-cross-platform code
Show 3 earlier eventsHide 3 earlier events

Package metadata

First published
2019-01-30
Total releases
8 / 7 yrs
License
AGPL
Additional repositories
rstub.r-universe.dev
Bundled data
2.0 KB / 1 file
Download size
484 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("swephR")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.1558/jsa.42323.

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 swephR version 0.3.2 [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