set_api_url | R Documentation |
RSPACE_API_URL
environment variableSets the RSPACE_API_URL
environment variable to the provided RSpace API URL.
The RSpace API URL is likely the URL of your RSpace instance followed by api/v1
.
set_api_url(rspace_api_url)
rspace_api_url |
The RSpace API URL |
This will only set the environment variable for the current session,
to set it permanently, add RSPACE_API_URL=<your_api_url_here>
to your .Renviron
file,
for example, using usethis::edit_r_environ()
.
A logical indicating if setting the API URL succeeded.
## Not run:
set_api_url("https://leiden.researchspace.com/api/v1")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.