On Windows, RStudio seems to use Microsoft's R Client / R Open (not really familiar with it) by default, which uses CRAN snapshots of specific dates to ensure reproducibility.
To compile a bookdown document, I need newer versions of some packages.
indicates the older snapshot of the CRAN repository ("2016") used by Microsoft's R installation, which I therefore wanted to change.
However, changing it with the dialog available via "Tools > Global options... > Packages" has no effect.
The dialog "Tools > Global options... > Packages" tells me "CRAN repositories modified outside package preferences".
I'm using RStudio 1.2.1335 on Windows 10 (not really my favourite platform - on Linux everything works fine).
Is anyone familiar with pointing Microsoft's R client to a newer snapshot or the current CRAN server?
On https://mran.microsoft.com/faq#change-repos, Microsoft gives some information, but the suggested
options(repos = c(CRAN = "https://mran.revolutionanalytics.com/snapshot/YYYY-MM-DD")) (adapted YYYY-MM-DD) did cause
update.packages() to update packages.