error: You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies:
https://askubuntu.com/questions/914428/unmet-dependencies-when-trying-to-install-r-base
sudo apt-get autoremove
sudo apt --fix-broken install
sudo apt-get update
sudo apt-get upgrade