Best way to authenticate to BigQuery using a service account?

I would like to create an R package that will access data in BigQuery. I would like the package to be run as a cron job from Linux. What is the proper way to allow the package to authenticate to BigQuery, preferably using a Google Cloud service account?