Colin Gillespie has a few tips for making package installation in R a bit faster:
The bigger picture is that package installation time is starting to become more of an issue for a number of reasons. For example, packages are getting larger and more complex (tidyverse and friends), so installation just takes longer. Or we are using more continuous integration strategies such as Travis or GitLab-CI, and want quick feedback. Or we are simply updating a large number of packages via
update.packages()
. This is a problem we often solve for our clients – optimising their CI/CD pipelines.The purpose of this blog post is to pull together a few different methods for tackling this problem.
Click through for the guidance.