ides-install-r: Two fixes:

* use `.tar.gz` format for both "base" and "patched" versions
* use the correct tag for the module file