Description Usage Arguments Value Examples
These functions are for working with the MRAN checkpoint server. use_mran_snapshot
updates the CRAN mirror for your R session to point to an MRAN snapshot, using options(repos)
. list_mran_snapshots
returns the dates for which an MRAN snapshot exists.
1 2 3 4 5 6 7 8 9 | use_mran_snapshot(
snapshot_date,
mran_url = getOption("checkpoint.mranUrl", "https://mran.microsoft.com"),
validate = FALSE
)
list_mran_snapshots(
mran_url = getOption("checkpoint.mranUrl", "https://mran.microsoft.com")
)
|
snapshot_date |
Date of snapshot to use in |
mran_url |
The base MRAN URL. The default is taken from the system option |
validate |
For |
For use_mran_snapshot
, the new value of getOption("repos")
, invisibly. For list_mran_snapshots
, a character vector of snapshot dates.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
list_mran_snapshots()
use_mran_snapshot("2020-01-01")
# validate=TRUE will detect an invalid snapshot date
use_mran_snapshot("1970-01-01", validate=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.