unset R_TESTS so that R CMD build and check can run

with thanks to Hadley for the tip