Skip to content

asteRisk

Computation of Satellite Position

v1.4.5 · Nov 1, 2025 · GPL-3

Description

Provides basic functionalities to calculate the position of satellites given a known state vector. The package includes implementations of the SGP4 and SDP4 simplified perturbation models to propagate orbital state vectors, as well as utilities to read TLE files and convert coordinates between different frames of reference. Several of the functionalities of the package (including the high-precision numerical orbit propagator) require the coefficients and data included in the 'asteRiskData' package, available in a 'drat' repository. To install this data package, run 'install.packages("asteRiskData", repos="https://rafael-ayala.github.io/drat/")'. Felix R. Hoots, Ronald L. Roehrich and T.S. Kelso (1988) <https://celestrak.org/NORAD/documentation/spacetrk.pdf>. David Vallado, Paul Crawford, Richard Hujsak and T.S. Kelso (2012) <doi:10.2514/6.2006-6753>. Felix R. Hoots, Paul W. Schumacher Jr. and Robert A. Glover (2014) <doi:10.2514/1.9161>.

Downloads

CRAN

477

Last 30 days

8650th

1.2K

Last 90 days

5.7K

Last year

Trend: +33.6% (30d vs prior 30d)

r2u CRAN

34

Last 30 days

134

Last 90 days

463

Last year

Trend: -19.1% (30d vs prior 30d)

autoCRAN

11

Last 7 days

67

Last 30 days

2

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 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 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

whether package can be installed

install log ‘’ does not exist
OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘asteRiskData’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘asteRiskData’
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'asteRiskData'
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/asteRisk.Rcheck/00install.out' for details.
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘asteRiskData’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘asteRiskData’
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'asteRiskData'
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

package dependencies

Package suggested but not available for checking: ‘asteRiskData’
NOTE r-oldrel-macos-x86_64

package dependencies

Package suggested but not available for checking: ‘asteRiskData’
NOTE r-oldrel-windows-x86_64

package dependencies

Package suggested but not available for checking: 'asteRiskData'

Code

Structure

Lines of code

17,381

Files

104

Compiled share

11.4%

Has compiled src

Yes

Language breakdown

R 11,414 (65.7%)C/C++/src 1,976 (11.4%)Tests 14 (0.1%)Docs 3,311 (19%)Vignettes 666 (3.8%)

API

Exported functions

33

Internal functions

224

Recent export changes

v1.4.4+8 KOEtoBCI, BCItoKOE, readBinDAF +5 more  −2 KOEtoECI, ECItoKOE
v1.4.3+1 calculateRazel

Testing & CI

Has tests

Yes

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

3%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

0%

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.0

System requirements

1

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

13

First release

2021-03-23

Latest release

2025-11-02

Avg cadence

71 days

Cold removal rate

100%

Dep drift

11

LOC over versions

v0.99.1: 2,332 LOCv0.99.2: 2,332 LOCv0.99.4: 2,332 LOCv1.0.0: 6,054 LOCv1.1.0: 6,846 LOCv1.2.0: 6,915 LOCv1.3.0: 8,244 LOCv1.4.0: 9,720 LOCv1.4.1: 9,805 LOCv1.4.2: 10,155 LOCv1.4.3: 10,268 LOCv1.4.4: 17,381 LOCv1.4.5: 17,381 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies deSolve nanotime onion Rcpp RcppParallel gsl polynom httr asteRisk

Version History

14 tracked
new 1.4.5 Mar 10, 2026
updated 1.4.5 ← 1.4.4 diff Nov 1, 2025
updated 1.4.4 ← 1.4.3 diff Aug 19, 2025
updated 1.4.3 ← 1.4.2 diff Jan 13, 2023
updated 1.4.2 ← 1.4.1 diff Oct 18, 2022
updated 1.4.1 ← 1.4.0 diff Jun 29, 2022
updated 1.4.0 ← 1.3.0 diff Mar 7, 2022
updated 1.3.0 ← 1.2.0 diff Feb 6, 2022
updated 1.2.0 ← 1.1.0 diff Dec 1, 2021
updated 1.1.0 ← 1.0.0 diff Jul 4, 2021
updated 1.0.0 ← 0.99.4 diff May 2, 2021
updated 0.99.4 ← 0.99.2 diff Apr 18, 2021
updated 0.99.2 ← 0.99.1 diff Mar 22, 2021
new 0.99.1 Mar 22, 2021