The function would detect if an API Key is available on this session:
If an API Key is already set as an environment variable it would be preserved
If no environment variable has been set and you have stored permanently
an API Key using aemet_api_key()
, the latter would be loaded.
aemet_detect_api_key(...)
Ignored
TRUE
or FALSE
Other aemet_auth:
aemet_api_key()
# NOT RUN {
aemet_detect_api_key()
# }
Run the code above in your browser using DataLab