powered by
Determines if option(ms_tts_key) or option(ms_tts_key) is set. If not, it stops and returns an error. If so, returns the value.
option(ms_tts_key)
get_ms_tts_key(api_key = NULL, error = TRUE)have_ms_tts_key(api_key = NULL)set_ms_tts_key(api_key)valid_ms_tts_key(api_key = NULL)
have_ms_tts_key(api_key = NULL)
set_ms_tts_key(api_key)
valid_ms_tts_key(api_key = NULL)
Microsoft Cognitive Services API key
Should the function error if api_key = NULL?
api_key = NULL
API key
# NOT RUN { res = get_ms_tts_key(error = FALSE) # }
Run the code above in your browser using DataLab