Closed Michael-Sheppard closed 4 years ago
The most likely scenario is that you're on windows, and you're trying to install a package while it's in another R session. This is a known bug with install.packages()
.
No, this is not the case. I am using an instance of RStudio Server Pro. Our servers are not Windows. This occurs when only running one session as well.
The exact same code will run perfectly after closing the session and starting a new one.
Can you please provide a reprex + traceback? But I'm almost certain it's an install problem
I will provide a reprex and traceback the next time this happens. Adding in that this only happens sometimes. That is what is so weird about the error. This usually occurs an hour so into my session. All libraries are loaded at the very beginning so there are no strange collisions occurring. Restarting the session has been the only solution for me and my colleagues when we experience this error.
I am no longer experiencing this issue after I uninstalled tidyverse, pillar, and vctrs and then reinstalling all 3.
See https://github.com/tidyverse/dplyr/issues/5048. Now I am getting this error again, except for vec_as_subscript instead of vec_as_subscript2. I've reinstalled vctrs, made sure my packages were up to date, and it still seems like this hasn't truly been solved.
This occurred when trying to run a chunk of code containing standard tidyverse functions like filter, gather, etc. The only solution is to close the session and start a new one. The only libraries being loaded are tidyverse, lubridate, and janitor.
I hope this is fixed soon because this is starting to occur more frequently and interfere with my work.