perl -lne '/library\((.*)\)/ && print $1' *.R *.Rmd | xargs Rscript -e 'install.packages(commandArgs(T), repos = "https://cran.rstudio.com")'
