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

Download alpha instead of devel? #542

Closed
bbimber opened this issue Mar 26, 2022 · 3 comments
Closed

Download alpha instead of devel? #542

bbimber opened this issue Mar 26, 2022 · 3 comments
Labels
feature a feature request or enhancement

Comments

@bbimber
Copy link

bbimber commented Mar 26, 2022

I might be misinterpreting what I see here; however:

  • We have a workflow that uses "r: 'devel', bioc: 'devel'". I believe r-devel recently switched its version to report 4.3. I am guessing that's because R 4.2 is going to be released next month.
  • Bioconductor-devel dies when installed with 4.3, saying it's an unsupported version.

Can I get rlib/actions to download some kind of 4.2 release-candidate, instead of the 4.3 R-devel?

@gaborcsardi
Copy link
Member

setup-r does not support R-alpha, but you can download and install it manually on Windows. It goes like this:

    - name: Install R
      run: |
        Invoke-WebRequest -Uri https://cran.r-project.org/bin/windows/base/R-4.2.0alpha-win.exe -OutFile ralpha.exe
        Start-Process ".\ralpha.exe" -ArgumentList "/verysilent /suppressmsgboxes /DIR=C:\R" -Wait -NoNewWindow
        echo "C:\R\bin" | Out-File -Append -FilePath $env:GITHUB_PATH

If you need to install Rtools, that is similar.

AFAICT there are no builds of R-alpha for macOS or Linux.

@gaborcsardi gaborcsardi added the feature a feature request or enhancement label Apr 1, 2022
@gaborcsardi
Copy link
Member

This is now fixed in v2-branch, will be merged in v2 soon. The next R version is now the next version of R, R-patched if there is no ongoing release process, and R-alpha, etc. if there is one.

On macOS it is currently R-patched because there is no installer available for R-alpha.

@github-actions
Copy link

github-actions bot commented Nov 5, 2022

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 Nov 5, 2022
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

2 participants