add a check step for missing R packages