dimfalk / netatmo.weather

R wrapper for Netatmo Weather API
GNU General Public License v3.0
3 stars 0 forks source link

`fetch_token()`: check if there is already a token available #79

Closed dimfalk closed 6 months ago

dimfalk commented 6 months ago

c.f.

# abort if token is not available
stopifnot("OAuth 2.0 token is missing. Run `fetch_token()` first." = file.exists(".httr-oauth"))