Provided the location of the previous R installation's package
library, the function will attempt to re-install each of the
packages found. Packages are installed with renv::install()
and will be added to the 'renv' package cache.
Packages can be installed from GitHub, GitLab, BioConductor, and
any repository listed in getOption("repos")
. This would typically
be from CRAN and any other secondary repositories that may be set.