auto install and update R packages