I posted the same issue also here: https://github.com/tidyverse/googledrive/issues/276
I have some code that it used to run correctly until one week ago but not when I try to get data from googledrive I get the following error:
createTcpServer: address already in use Error: Can't get Google credentials. Are you running googledrive in a non-interactive session? Consider: * drive_deauth() to prevent the attempt to get credentials. * Call drive_auth() directly with all necessary specifics.
Therefore I run the following again:
but when I restart the session or knit a rmd document then I get again the above error.
Then I run the following:
options(gargle_quiet = FALSE)
and this is the result:
Error: Argument 'txt' must be a JSON string, URL or file.
Error: inherits(token, "Token2.0") is not TRUE
attempt from: googledrive
adding 'userinfo.email' scope
loading token from the cache
no matching token in the cache
putting token into the cache
I also tried the same in Rstudio with a mac and the result is the same.
Do you have any suggestions how to solve it?