Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup R without Rtools #767

Closed
eitsupi opened this issue Oct 14, 2023 · 5 comments
Closed

Setup R without Rtools #767

eitsupi opened this issue Oct 14, 2023 · 5 comments
Labels
feature a feature request or enhancement

Comments

@eitsupi
Copy link

eitsupi commented Oct 14, 2023

Is your feature request related to a problem? Please describe.

Installing Rtools on Windows takes quite a bit of time, but there does not appear to be an option to skip this at this time.

Describe the solution you'd like

Specify something like rtools-version: "none" so that we can skip the Rtools installation.

Describe alternatives you've considered

Install R in other ways.

@gaborcsardi
Copy link
Member

A current workaround is to create an c:\Rtools43 (or 42, 40, or just c:\Rtools, depending on version) directory before calling setup-r:

@gaborcsardi gaborcsardi added the feature a feature request or enhancement label Oct 14, 2023
@yutannihilation
Copy link
Contributor

Just curious, why is Rtools43 not pre-installed in the hosted runners?

In my understanding, Rtools should be installed via chocolatey,

https://github.com/actions/runner-images/blob/060ad1383a7231762cbd2d61a04116a2dc7905e0/images/win/scripts/Installers/Install-R.ps1#L7

and chocolatey should point to Rtools43. So, I thought the setup of Rtools in rlib/action is usually skipped.

https://github.com/facorread/rtools-chocolatey/blob/6524fa5ef2fba631a4cca157e9d60c26d3cb17a1/src/tools/chocolateyInstall.ps1#L6

@gaborcsardi
Copy link
Member

Just curious, why is Rtools43 not pre-installed in the hosted runners?

It is preinstalled, AFAICT.

@gaborcsardi
Copy link
Member

This will be fixed, once v2 is updated, later today.

Copy link

This issue has been automatically locked. If you believe you have found a related problem, please file a new issue and include a link to this issue

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature a feature request or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants