You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just installed R 4.5.0 and reinstalled all of the R packages I normally use. devtools installed without error. However, when I loaded devtools I got the following error:
> library(devtools)
Loading required package: usethis
Error: package or namespace load failed for ‘devtools’ in inDL(x, as.logical(local), as.logical(now), ...):
unable to load shared object 'C:/Users/joel/AppData/Local/R/win-library/4.5/httpuv/libs/x64/httpuv.dll':
LoadLibrary failure: The specified procedure could not be found.
I checked and the httpuv package is installed and the file httpuv.dll is present in the location listed above. I got the same error when I tried to load httpuv. I was not getting this error under R 4.4.3 and devtools was working as expected.
I tried reinstalling httpuv from source to see if that fixed the problem, but I got the following error:
The error above indicates that you don't have the tooling to install packages from source (such as the g++ compiler). For that, you'd need to install Rtools:
But the original problem is that httpuv doesn't actually work. I'm not entirely sure what's going on there, but I note that Windows Server 2016 Standard is quite old. It's conceivable that that is the problem. I'm closing this issue as this is out of scope for devtools. You could consider opening another issue on httpuv itself, but I suspect your troubles are not specific to httpuv but rather to "packages with compiled code" or something along those lines (?).
Thanks Jenny. I saw Rtools 4.5 in my path, so I didn't think that would be an issue. I tried a direct install of Rtools 4.5 but that didn't fix the problem. I tried installing a few other packages from source, and that worked as expected. I realize Windows Server 2016 is old, but unfortunately I have limited influence over our computing infrastructure. For now I've rolled back to R 4.4.3, while I get my IT folks to look into what might be happening.
I just installed R 4.5.0 and reinstalled all of the R packages I normally use.
devtools
installed without error. However, when I loadeddevtools
I got the following error:I checked and the
httpuv
package is installed and the filehttpuv.dll
is present in the location listed above. I got the same error when I tried to loadhttpuv
. I was not getting this error under R 4.4.3 anddevtools
was working as expected.I tried reinstalling
httpuv
from source to see if that fixed the problem, but I got the following error:System Info
The text was updated successfully, but these errors were encountered: