title: Error: oauth_listener() needs an interactive environment
body: <p>Using Shiny and R to create a little webapp that pulls data from Google BigQuery and spits it out onto the page. Uses the bigrquery package</p>
  
  <p>When running the script from inside R (source(x.R)) everything runs fine, however when using Rscript x.R I get the error. I'm trying to setup cron to run the script automatically.</p>
  
  <p>There is a .httr-oauth file in the directory of the script.</p>