| mranUrl {checkpoint} | R Documentation |
This function returns the current MRAN URL. The default for this is http(s)://mran.microsoft.com/, and is defined by setting the checkpoint.mranUrl option.
mranUrl()
Character string with URL
To force checkpoint() to point to a differt URL, you can set the checkpoint.mranUrl option.
options(checkpoint.mranUrl = "new_url")
Other checkpoint functions: checkpointArchives,
checkpointRemove, checkpoint,
getAccessDate,
getValidSnapshots,
setSnapshot, unCheckpoint
mranUrl()
## Not run:
# Store the existing options
old_opts <- getOption("checkpoint.mranUrl")
# Set MRAN URL to different http address
options(checkpoint.mranUrl = "https://foobah")
# Set MRAN URL to local file address
options(checkpoint.mranUrl = "file:///~")
# Reset the original options
options(checkpoint.mranUrl = old_opts)
## End(Not run)