artemklevtsov / RGA

A Google Analytics API client for R
http://cran.r-project.org/package=RGA
32 stars 13 forks source link

Point url to browser even when OOB set to false #57

Open simran66 opened 6 years ago

simran66 commented 6 years ago

My cron job using RGA was running fine so far but recently It stopped working.

If I run my R script manually in rstudio, it works fine, however, if I run it through cron job, it says:

Waiting for authentication in browser...
Press Esc/Ctrl + C to abort
Please point your browser to the following url: 

My script has options(httr_oob_default=FALSE)

Why does it still ask to point to the browser anyway? It started happening out of no where. No changes on server or any of the packages. Please suggest

Ashwin611 commented 5 years ago

Is this resolved? I encountered a similar problem which was resolved by authenticating token from a .rds file gs_auth(token = "googlesheets_token.rds")