Now we can R CMD check package when standing at DDF/R directory

This is to facilitate automated test using jenkins also.