needs icon indicating copy to clipboard operation
needs copied to clipboard

Setting a custom CRAN mirror

Open mattinbits opened this issue 7 years ago • 0 comments

Setting a custom CRAN mirror, for example using .Rprofile, doesn't appear to have an impact on needs as it does when calling install.packages directly. It appears to be hard coded to the Rstudio CRAN mirror in needs.R:

utils::install.packages(missing, repos = "http://cran.rstudio.com/",
                                quiet = T)

Is there a method to set a custom CRAN mirror when installing using the needs package?

mattinbits avatar Nov 12 '18 13:11 mattinbits