Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Allow specified R version in electrify() and install_r() #272

Closed
gorcha opened this issue Apr 27, 2020 · 3 comments · Fixed by #273
Closed

Allow specified R version in electrify() and install_r() #272

gorcha opened this issue Apr 27, 2020 · 3 comments · Fixed by #273

Comments

@gorcha
Copy link

gorcha commented Apr 27, 2020

Currently electrify() always installs the most recent version of R on Windows, and uses a hard coded version for Mac.

It'd be great if there were an option allowing the user to specify the R version in electrify() or install_r().

@gorcha gorcha changed the title All specified R version in electrify() and install_r() Allow specified R version in electrify() and install_r() Apr 27, 2020
@bianchenhao
Copy link

I'm troubled by this too!

@chasemc
Copy link
Owner

chasemc commented Apr 27, 2020

I've added an argument that lets you specify the url to the mac tar.gz and will merge it in when it passes checks.

The versioning with Windows was meant to be achieved by using MRAN to keep R and package installation in sync by specifying a date, that will install packages available on that date, along with the R version that is most recent as of that date.
electrify(mran_date = "2019-08-05", cran_like_url = NULL)

@chasemc
Copy link
Owner

chasemc commented Apr 27, 2020

Feel free to reopen if for some reason the MRAN method isn't sufficient.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants