Oefenweb / ansible-r

Ansible role to set up (the latest version of) R in Ubuntu systems
MIT License
42 stars 27 forks source link

Allow R4 install + add warning about r_version_35 #45

Closed FanchTheSystem closed 3 years ago

FanchTheSystem commented 3 years ago

Add R 4 install from cran repository.

I also added a warning about r_version_35 which should not be used anymore if we have 3 distinct version of R to install from the ubuntu cran repository.

Note that if you set r_version to '40', it mean you're on a recent ubuntu and so you will have r_version_35 auto setted to true, so the other check of this variable will still work.

Maybe we should set the default version to 35 now, as nobody use the 34 anymore, you can check here https://cran.r-project.org/bin/linux/ubuntu/README.html and see that it is only available on very old ubuntu.

FanchTheSystem commented 3 years ago

Any comment on this @tersmitten ?

(I need R 4.0 for some of my env)

tersmitten commented 3 years ago

Look good. I'll merge this soon.

tersmitten commented 3 years ago

Fixed in #49