talgalili/installr

R patched versions

Closed this issue · 2 comments

Is your feature request related to a problem? Please describe.
I tried to install the package XLConnect and it crashes. The solution stated online is to upgrade R to the latest patched version.
However, I can see that:

38 #' @param check_r_update checks if there is an R update available (ignores patch versions),

meaning installr will ignore patched version when looking for new versions. Is there a reason for this?

Describe the solution you'd like
I'd love it if patched version would be entertained as part of the search for updates. At a minimum a parameter override to allow users to opt in for including patched versions in their search for an upgrade to their current R insall?

Describe alternatives you've considered
the alternative is obvious: a manual install - but defeats the purpose of this awesome package, which i have been using nearly exclusively to maintain my R setup for many years - many thanks for that.

Additional context
none. just another thank you for putting together this awesome package.

This is in the function that installs Rtools, not R itself. This is because Rtools compatibility (https://cran.r-project.org/bin/windows/Rtools/history.html) changes only with minor versions.
The function updateR (https://github.com/talgalili/installr/blob/master/R/updateR.R#L720) will not ignore patch versions.
Hope that helps :)

I agree with @burgerga

Closing.