1 Packages 2 Motivation 3 Find out missing packages 4 Install missing packages from CRAN 5 Install non-CRAN packages 1 Packages library(renv) 2 Motivation Assume you find a cool repo or some online-book and you want to run the R code. You might want to check if you have all the required packages installed. This is what this post is about. We will use the usethis package to check if all required packages are …