rdotnet/rClr

failure to install package: no R 3.6 availability for rClr 0.8.3

twest820 opened this issue · 1 comments

This may be a known and expected problem, per #43 and the rClr 0.8.3 release notes, but I couldn't find a tracking issue for updating support to a current version of R. It looks like R 3.6.0 released a month before rClr 0.8.3 added 3.5 support and R 3.5.0 13 months before that. We're often a few months behind the current R release (3.6.2 as of December, at the moment) but a year's lag enough to preclude rClr use at my location as there aren't any machines left which are still on R 3.5. (MATLAB .NET support is sort of a workaround for us but is limited by licensing and, well, not being R.)

From RStudio 1.2.5001 and R 3.6.1 on Windows 10:

install.packages("Downloads\rClr_0.8.3.zip")
Installing package into ‘Documents/R/win-library/3.6’
Warning in install.packages :
package ‘Downloads\rClr_0.8.3.zip’ is not available (for R version 3.6.1)

Having encountered the same issue I changed the install.packages command as explained in the rClr docs slightly to include the option repos = NULL, i.e.

install.packages('c:/path/to/rclr_0.8.zip, repos = NULL)

This ensures that the installation is performed from the local file and works for me also in R version 3.6.2. Might it be useful to include the repos = NULL option in the docs @jmp75 ?