added repos arg to install.packages calls in R files