rstudio packages do not upgrade

This error seems to be associated with a previous package installation being interrupted / terminated abnormally. You can fix this by removing the lock file as said. Within the R console, try:

unlink("C:/Users/Usuario/Documents/R/win-library/3.4/00LOCK-dplyr", recursive = TRUE)

I'm following the line of reasoning here;

https://support.rstudio.com/hc/en-us/community/posts/203309146-Build-error


In diagnosing these types of issues, it's important to know the difference between R and RStudio. Package installation is an R issue. RStudio is an IDE for R

2 Likes