I am new to RStudio Connect and am having trouble using googleAuthR and googleAnalyticsR packages in published RMarkdown files.
I have successfully published other content using other packages, including all of the package dependencies for googleAuthR. For example, an R Notebook containing this chunk runs fine:
library(assertthat) library(digest) library(httr) library(jsonlite) library(R6) library(memoise) library(utils)
However, an R Markdown file with only this chunk will throw an error:
curl: (22) The requested URL returned error: 404 Not Found Error in getSourceForPkgRecord(pkgRecord, srcDir(project), availablePackagesSource(repos = repos), : Failed to retrieve package sources for googleAuthR 0.6.2 from CRAN (internet connectivity issue?) The most recent snapshot was generated using R version 3.4.2
Has anyone else successfully used the googleAuthR package on RStudio Connect, or do you have any tips on how to diagnose issues where a package on CRAN is not retrieved by RStudio Connect?