microsoft / RTVS

R Tools for Visual Studio.
MIT License
390 stars 118 forks source link

R Package Manager does not grab latest available packages. #4272

Closed djm158 closed 6 years ago

djm158 commented 6 years ago

image

devtools is listed as latest version being 1.12.0, but 1.13.4 is the latest listed on github

link to latest cran repository, version 1.13.4

Visual studio Enterprise 2017, Version 15.5.4 Windows 10 Microsoft Open R 3.4.1 Microsoft R Client 3.3.2.0

MikhailArkhipov commented 6 years ago

It depends on what is on the current CRAN mirror. The mirror can be changed in Tools | Options | R. As far as I can see, devtools is still 1.12. RStudio

image

djm158 commented 6 years ago

I see, thank you! I actually believe the R version I listed above was 3.3 instead of 3.4 at the time I took the screenshot, I just grabbed the latest R client from http://aka.ms/rclient/ and re opened visual studio and now my devtools version is listed as 1.13.3. I guess this updated my mirror?

MikhailArkhipov commented 6 years ago

It is not automatically updated (it is in Tools | Options | R) , but client may choose to map it to a different mirror. I wouldn't be surprised if MS R Client would use MRAN and not CRAN mirror.