ministryofjustice / analytics-platform

Parent repository for the MOJ Analytics Platform
MIT License
14 stars 1 forks source link

Need to update R Studio docker configuration to point to a better CRAN mirror #68

Closed RobinL closed 1 year ago

RobinL commented 6 years ago
Ben Fortescue [12:15 PM]:

Doing a `getOption("repos")` on a restarted session (no project open) gives me
                                            ```CRAN 
"https://mran.microsoft.com/snapshot/2017-11-30"

I can verify I get the same, which means that users trying to install the latest versions of packages get the most recent version as at November 2017.

We should update this to a non-snapshotted version

Thomas-Hirsch commented 6 years ago

A temporary solution is to run option(repos = "https://cran.rstudio.com/") in R, substituting "https://cran.rstudio.com/" with your desired repository. This will change the repository for a given project, but will need to be run by the user for every new project.