Get more examples and tutorials at the googleAnalyticsR website
Work is currently focused on quashing bugs and updating the BigQuery parser.
If you find any bugs please log any problems here in the issues tracker.
You also need the version > 0.3.0
of googleAuthR
install.packages("googleAuthR")
install.packages("googleAnalyticsR")
devtools::install_github("MarkEdmondson1234/googleAnalyticsR")