Construct MRAN url if snapshot date provided
construct_mran_url(mran_date = NULL, cran_like_url = NULL)
mran_date | MRAN snapshot date (e.g. "2019-08-05") |
---|---|
cran_like_url | url to CRAN-like repository |
CRAN-like url
construct_mran_url(mran_date = "2019-08-05")#> https://cran.microsoft.com/snapshot/2019-08-05construct_mran_url(cran_like_url = "https://cloud.r-project.org")#> [1] "https://cloud.r-project.org"