Check R configuration is set up correctly before class

WWW: https://cran.r-project.org/package=checker
