add restore-cache as Rscript