Error in access to googlesheet via R

I installed package "google sheets", and

library("googlesheets")
gs_auth(new_user = TRUE)

Once choose a google account with tidyverse-googlesheets,
I found this error

What should I do ?

googlesheets has been deprecated (because of the API version), you have to use the newer googlesheets4

Thanks for the suggestion!

I installed "googlesheets4"
and then library("googlesheet4")

gs_auth(new_user = TRUE)
And then select the google account, but show the same error above!

my purpose is to export the table or any data to googlesheet by using R !
Is there any way ? I'm a very new user for R.
Thanks alot !!

It's called gs4_auth in googlesheets4

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.