Automatically update R packages before check