Because R and R Studio don't necessarily warn you when they need upgrading, I had to figure it out myself when I started getting some weird bugs running assignments during an R class. Alas, I needed to update R to the latest version, and in the process decided to update RStudio as well. Here is how I went about it.

I was running into trouble trying to update my Manjaro on my MacBook Pro today, I kept running into package conflicts which could not be resolved.  Pacman suggested deleting certain packages but the delete would not complete because of dependencies. So the issue was how to resolve dependencies in Manjaro and how to remove unwanted packages.