exercism/r

Improvement for installation document

Opened this issue · 2 comments

I've found a quick way to get started on Ubuntu is:

sudo apt install r-base r-cran-testthat

Is that something to add to the installation document? Too OS-specific?

Sure, we could definitely update the install docs with further instructions like this and that may be helpful to some new users.

My main concern is that while what you suggest should just work for most Ubuntu/Debian systems, this could result in quite an old version of R in some cases (although admittedly the current installation docs don't specify a minimum required version of R and probably could / should). Also, the instructions may need to differ slightly depending on the distro, especially if Fedora, Redhat etc, so that's why we took the option of just linking to CRAN which has instructions for different Linux distributions + Mac and Windows.

If we are to add further installation instructions then I think we need to add the key info for each OS so that the instructions are balanced (and still link to CRAN for further details).

Would you be willing to contribute a PR for this?

Sure, I'll work on it.