Closed znmeb closed 2 years ago
Is maybe your home directory unwriteable? C:/Users/znmeb/R/win-library/4.1
?
Does installing the binary package work?
The home library is writeable and binary packages work. This is a new phenomenon; I'm sure it's some kind of screwed-up environment / PATH problem that would be obvious if the install logs were available. Is there any way to force them? "verbose" and "keep_outputs" either isn't working or it's putting the logs somewhere obscure.
I have it working finally. It looks like what was happening is that "cmd.exe" was corrupted or one of its dependencies was missing. I couldn't even start "cmd.exe" from the Start menu. I had to reset the PC from the recovery menu to get that fixed. Once I got that fixed I could install jsonlite
from source.
This is on 64=bit R for Windows GUI, not in RStudio. It also fails in RStudio and fails for packages besides
jsonlite
but this is the simplest case I can reproduce.Here's "~/.Renviron"
There's no error message, even if I use
verbose = TRUE
andkeep_outputs = TRUE
.