View source: R/default_registries.R
| default_registries | R Documentation | 
A helper function to conveniently load the default registries
default_registries()
This function is primarily useful to restrict the
scope of sources or register to, e.g. either just the
remote registry or just the local registry.  Note that a user
can alter the registry on the fly by passing local paths and/or the
URL (https://hash-archive.org) directly.
## Both defaults
default_registries()
## Only the fist one (local registry)
default_registries()[1]
## Alter the defaults with env var.
Sys.setenv(CONTENTID_REGISTRIES = tempfile())
default_registries()
Sys.unsetenv("CONTENTID_REGISTRIES")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.