mranUrl

0th

Percentile

Returns MRAN URL by querying options and defaults.

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.

Usage
mranUrl()
Value

Character string with URL

Defining a new MRAN URL

To force checkpoint() to point to a differt URL, you can set the checkpoint.mranUrl option.

options(checkpoint.mranUrl = "new_url")

See Also

Other checkpoint functions: checkpointArchives, checkpointRemove, checkpoint, getAccessDate, getValidSnapshots, setSnapshot, unCheckpoint

Aliases
  • mranUrl
Examples
mranUrl()  


  
# 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)

Documentation reproduced from package checkpoint, version 0.4.0, License: GPL-2

Community examples

Looks like there are no examples yet.