The Swiss Ephemeris is a high precision ephemeris based upon the DE431 ephemerides from NASA's JPL. It covers the time range 13201 BC to AD 17191. 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.github.io/drat/", type = "source")'. The size of the 'swephRdata' package is approximately 115 MB. The user can also use the original JPL DE431 data.
At the moment
swephR is not on CRAN, but you can install the current version via drat:
if (!requireNamespace("drat", quietly = TRUE)) install.packages("drat")drat::addRepo("rstub")install.packages("swephR")