Adding check package R script