Hi,
I've been having a problem with renv. Here are the basics... running Rstudio Version 2023.03.1+446 (2023.03.1+446), R version 4.3, MacOS Monterey, 16 GB Ram.
The problem starts off with renv again, as usual, having a problem when I start R up. Renv usually has some kind of issue that requires that I run renv::status(). It usually is resolved fairly easily, but this time the problem seems like a loop I can't get out of. [Side note: I'm not sure how renv is supposed to work, but it seems that it always has issues]. Sometimes, renv::status returns the need to run renv::repair. I do that and usually, there is no problem however annoying it is.
However, this time the loop problem starts off the same way with many of my package's symlinks being broken. That happens occasionally. It usually is resolved by running renv::repair and it reinstalls all my packages. This is annoying and I don't know why this happens, but it's usually not really hard to resolve.
This time it's different. The whole sym links broken thing happens, renv::repair is run, but this time there is a problem. It happens that there are some packages that I've installed that are from GitHub. For some reason, the renv::repair is run and the reinstallation stops at the corpus package that I downloaded from GitHub. So the symlink problem never gets fully fixed. I rerun renv::repair() to the same result.
I have tried various approaches to resolving it, all to no avail.....(1) I upgraded renv. (2) terminate R or quit Rstudio and restart (3) restarted an R session (4) quit and restarted the computer (5) I reinstalled the corpus package from GitHub (6) I tried to remove the package from the renv.lock file, but it's not listed (???) (7) I tried running renv::settings$ignored.packages("corpus", persist = FALSE)
. So I end up back where I started with all the symlinks being broken, renv::repair running, and stopping reinstallation at corpus.
I am not sure what else to do other than more drastic measures like uninstalling R and/or Rstudio and/or every package. I'd like to avoid doing that if I can. Do you guys have any suggestions?
Thanks in advance,
Jose