I am using RStudio 1.0.136 with Microsoft R Open 3.3.2 When I do File --> New File --> R Markdown... it says
rmarkdown 1.2 is required but 1.1 is available
And
Check that getOption("repos") refers to a CRAN repository that contains the needed package versions
And
getOption("repos")
gives me this:
CRAN
"https://mran.revolutionanalytics.com/snapshot/2016-11-01"
CRANextra
"http://www.stats.ox.ac.uk/pub/RWin"
Where do I go from here?
One of the things we do with MRO (and other MS R distributions) is to point the default repository to a static point-in-time snapshot, for the purposes of reproducibility.
From https://mran.revolutionanalytics.com/documents/rro/reproducibility/:
In your case, the snapshot you're using is as of Nov 1, 2016. At that date, the latest version of rmarkdown was 1.1. If you run
install.packages
, you will get that version and not anything more recent.If you definitely want rmarkdown 1.2, you can override the default repo in your
install.packages
call: