this is a late answer, but in case someone else has the same problem, you can specify your CRAN mirror: ex: install.packages("mypkg",dependencies=TRUE,repos='http://cran.univ-lyon1.fr/')