1.3 Upgrading Packages
1.3.1 Problem
You want to upgrade a package that is already installed.
1.3.2 Solution
Run update.packages()
:
update.packages()
It will prompt you for each package that can be upgraded. If you want it to upgrade all packages without asking, use ask = FALSE
:
update.packages(ask = FALSE)
1.3.3 Discussion
Over time, package authors will release new versions of packages with bug fixes and new features, and it’s usually a good idea to keep up-to-date. However, keep in mind that occasionally new versions of packages will introduce bugs or have slightly changed behavior.