Closed akgold closed 2 years ago
Why are you getting the key like that? i.e. it's simpler to do this and you get a better error:
pins::board_rsconnect("envvar", server = 'https://colorado.rstudio.com/rsc')
This was a simplified reprex. I have multiple RSCs I'm connected to, so I had old code that used Sys.getenv("COLORADO_CONNECT_API_KEY")
. I don't think that will be automatically picked up, right?
Ok, make sense. I think it's better to tackle this problem by treating ""
and NULL
the same way. I'll fix momentarily.
This issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with a reprex: https://reprex.tidyverse.org) and link to this issue.
This error is unhelpful.