change the installation order of R packages