r-lib / devtools

Tools to make an R developer's life easier
https://devtools.r-lib.org
Other
2.37k stars 753 forks source link

devtools::install changes .libPaths() #2421

Closed LukasTang closed 2 years ago

LukasTang commented 2 years ago

Hi, we just upgraded to R 4.1.3 (from 3.5.1), we change our library path through RProfile.Site to a custom path, but when I try to install custom packages, it crashes and the library paths change, how can this be?

image

jennybc commented 2 years ago

It's almost impossible to troubleshoot based on a photo of your screen.

But I see "downloaded length 0 != reported length 213003" which suggests that the zip ball did not download, which is a good candidate for the main problem here.