if(interactive()) {
if(requireNamespace("asteRiskData", quietly = TRUE)) {
# The table of Earth orientation parameters distributed with asteRiskData
# comprises data up to the 21st of March, 2021
asteRiskData::earthPositions[nrow(asteRiskData::earthPositions),]
# The table can be easily updated to include the most recent available data
getLatestSpaceData(targets="all")
asteRiskData::earthPositions[nrow(asteRiskData::earthPositions),]
}
}
Run the code above in your browser using DataLab