has_synthesize_token | R Documentation |
Checks whether a Synthesize Bio API token is currently set in the environment. Useful for conditional code that requires an API token.
has_synthesize_token()
Logical, TRUE if token is set, FALSE otherwise.
## Not run:
# Check if token is set
if (!has_synthesize_token()) {
# Prompt for token if not set
set_synthesize_token()
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.