Trouble with packrat corrupting R functioning
问题 I installed the package packrat at some point, used it perhaps once and moved on with my life. However, despite not having loaded it in months, it remains a nuisance to my regular R usage. Seemingly at random, my R session within RStudio will fail with errors at certain operations, especially package installation. Here's the most recent error message (after running parallel::makeCluster(parallel::detectCores()) : Error in file(filename, "r", encoding = encoding) : cannot open the connection