A convenient way to update all the packages.

Update all the packages

Very simple, just one piece of code as follows:

1
update.packages(ask = FALSE, dependencies = c('Suggests'))

Run it in the console of your Rstudio and take a cup of coffee.