Function to print version number and time since last update formatted to standard output. Considers CRAN, the RSE server, and r-universe.
Usage
packageInfo(
package,
repos = c("https://cran.rstudio.com/", "https://rse.pik-potsdam.de/r/packages/",
"https://pik-piam.r-universe.dev")
)