I am unable to authenticate my googlesheets package. Everytime I run the gs_auth()
command I am taken to the chrome where I would usually login to enable the pa
googlesheets4 will replace googlesheets package very soon (by March 2020). Most of the functions performed by googlesheets can be handled by googlesheets4 currently, except for writing to specific cells.
googlesheets4 has a oauth authentication using Gargle (similar to googledrive package). More info can be found here - https://github.com/tidyverse/googlesheets4
Adding the answer from Jenny Bryan (maintainer of googlesheets
and googlesheets4
) from Github to this issue here:
"Default oauth app not working any more" https://github.com/jennybc/googlesheets/issues/397
The link includes pretty detailed, step-by-step instructions, and I won't repeat what's she's already laid out really well. But quick version is you'll need to set up your own API credentials to make the oAuth client work. And remember, that will only help until March 2020.
Probably better, as @Kannan and others point out, is to make the switch to the new googlesheets4
package now if you can.