languageserver icon indicating copy to clipboard operation
languageserver copied to clipboard

CRAN mirror

Open kamaulindhardt opened this issue 3 years ago • 1 comments

Hi,

How do I set the CRAN mirror when installing with install.packages("languageserver") I get the warning:

---- Please select a CRAN mirror for use in this session ----

Is there a way to select the CRAN mirror for the package?

kamaulindhardt avatar Sep 01 '21 21:09 kamaulindhardt

You could either add repos in

install.packages('package', repos='https://cloud.r-project.org/')

or set CRAN mirror permanently in your ~/.Rprofile:

options(repos = c(CRAN = "https://cloud.r-project.org/"))

renkun-ken avatar Sep 01 '21 22:09 renkun-ken