You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am unable to knit the document when I try to pull data from my ORCID account. I have tried everything suggested by ?orid_auth. I get the following error:
Error: In non-interactive environments, please set ORCID_TOKEN env to a ORCID access token, see ?orcid_auth for details
Execution halted
Any solutions to this?
The text was updated successfully, but these errors were encountered:
As the error suggests, knitting a document is a non-interactive environment. You will need to set the ORCID_TOKEN to your R environment. The help file for orcid_auth should go into a bit more detail than I will here, but essentially:
Open your .Renviron file with usethis::edit_r_environ(), and add a new line containing ORCID_TOKEN = dc0a6b6b-b4d4-4276-bc89-78c1e9ede56e. This is an example token - you will need to obtain your own token using rorcid::orcid_auth().
That worked! Thanks! Do you think it would benefit others by including that extra bit of detail in your vignettes? It could be that I am just clueless about changing things like that in my R environment.
jgeller112
changed the title
Interfacing with rorid
Interfacing with rorcid
Mar 14, 2019
I am unable to knit the document when I try to pull data from my ORCID account. I have tried everything suggested by ?orid_auth. I get the following error:
Error: In non-interactive environments, please set ORCID_TOKEN env to a ORCID access token, see ?orcid_auth for details
Execution halted
Any solutions to this?
The text was updated successfully, but these errors were encountered: