configure R for pedantic tests (and other options)

- adapted from http://www.personal.psu.edu/mar36/blogs/the_ubuntu_r_blog/2012/08/installing-the-development-version-of-r-on-ubuntu-alongside-the-current-version-of-r.html
Merge branch 'full-test' into 0.7-rc-full-test