allow specifying R version through environment variable R_VERSION

- determine Ubuntu versions for r-base-dev, r-base-core and r-recommended
- don't install R docs
- don't install r-recommends when version has been specified (doesn't work);
hence, don't check as CRAN for R 2.15 in test setup