stattleship / stattleship-r

Stattleship R Wrapper
https://api.stattleship.com/
MIT License
48 stars 14 forks source link

setToken #13

Closed Btibert3 closed 8 years ago

Btibert3 commented 8 years ago

I have zero idea why this doesn't work:

setToken(Sys.getenv("STATTLE_TOKEN")

this doesn't authenticate properly (at least that's what I am guessing).

However,

setToken("yourtokenhere")

is fine.

Btibert3 commented 8 years ago

I added the token to my .Renviron file incorrectly, so Sys.getenv was returning a character vector with double quotes. It was my issue.