I am a little bit confused about how the package updating in RStudio actually works. When I click the green update button of the packages panel in RStudio, it seems RStudio automatically reinstall all the R packages I select. I would like to know whether the old packages are automatically deleted after newer versions are installed.
In addition, I am not sure whether the packages shown under the User Library tag are all user-installed ones or they also include dependent packages. If they also dependent packages, I don't understand why expose them to users.