A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/r-lib/actions/issues/720 below:

r-lib/setup-r can now only install rtools40, not rtools42 or 43 · Issue #720 · r-lib/actions · GitHub

Hello wonderful people :)

Describe the bug
Since 21 hours ago r-lib/setup-r either stopped installing rtoolsXX OR installing old rtools40 even though specifying 42 or 43.

current setup-r either install 40 although 43 was specified ...

Run r-lib/actions/setup-r@v[2](https://github.com/pola-rs/r-polars/actions/runs/4768599259/jobs/8478100393#step:9:2)
  with:
    r-version: release
    use-public-rspm: true
**update-rtools: true**  <- if TRUE setup-r only installs rtools40
**    rtools-version: 43**
    Ncpus: 2
    remove-openmp-macos: true
    install-r: true
    windows-path-include-rtools: true
    windows-path-include-mingw: true
  env:
    GITHUB_PAT: ***
    R_KEEP_PKG_SOURCE: yes
    rust-toolchain: nightly-gnu
    CARGO_INCREMENTAL: 0
    CARGO_TERM_COLOR: always
    CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
    CACHE_ON_FAILURE: true
D:\a\_temp\R-[4](https://github.com/pola-rs/r-polars/actions/runs/4768599259/jobs/8478100393#step:9:4).2.3-win.exe /VERYSILENT /SUPPRESSMSGBOXES /DIR=C:\R
c:\rtools40\usr\bin\bash.exe --login -c "pacman -Syu --noconfirm" <- 40 not 43

... or does not install any rtools if update_rtools is not set/False

Run r-lib/actions/setup-r@v[2](https://github.com/pola-rs/r-polars/actions/runs/4763628251/jobs/8467276020#step:9:2)
  with:
    r-version: release
    use-public-rspm: true
    **rtools-version: 42**
    Ncpus: 2
    remove-openmp-macos: true
    install-r: true
    windows-path-include-rtools: true
    windows-path-include-mingw: true
    update-rtools: false
  env:
    GITHUB_PAT: ***
    R_KEEP_PKG_SOURCE: yes
    rust-toolchain: nightly-gnu
    CARGO_INCREMENTAL: 0
    CARGO_TERM_COLOR: always
    CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
    CACHE_ON_FAILURE: true
D:\a\_temp\R-4.2.[3](https://github.com/pola-rs/r-polars/actions/runs/4763628251/jobs/8467276020#step:9:3)-win.exe /VERYSILENT /SUPPRESSMSGBOXES /DIR=C:\R
C:\ProgramData\Chocolatey\bin\choco.exe install ghostscript --no-progress
Chocolatey v1.3.1
Installing the following packages:
ghostscript
By installing, you accept licenses for the packages.

Before run installs rtools42 as speciefied

Run r-lib/actions/setup-r@v[2](https://github.com/pola-rs/r-polars/actions/runs/4759816665/jobs/8459472963#step:9:2)
  with:
    r-version: release
    use-public-rspm: true
    rtools-version: 42
    Ncpus: 2
    remove-openmp-macos: true
    install-r: true
    windows-path-include-rtools: true
    windows-path-include-mingw: true
    update-rtools: false
  env:
    GITHUB_PAT: ***
    R_KEEP_PKG_SOURCE: yes
    rust-toolchain: nightly-gnu
    CARGO_INCREMENTAL: 0
    CARGO_TERM_COLOR: always
    CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
    CACHE_ON_FAILURE: true
D:\a\_temp\R-4.2.[3](https://github.com/pola-rs/r-polars/actions/runs/4759816665/jobs/8459472963#step:9:3)-win.exe /VERYSILENT /SUPPRESSMSGBOXES /DIR=C:\R
Downloading https://github.com/r-hub/rtools[4](https://github.com/pola-rs/r-polars/actions/runs/4759816665/jobs/8459472963#step:9:4)2/releases/download/latest/rtools42.exe...
**D:\a\_temp\rtools42.exe /VERYSILENT /SUPPRESSMSGBOXES**
C:\ProgramData\Chocolatey\bin\choco.exe install ghostscript qpdf --no-progress
Chocolatey v1.3.1
Installing the following packages:
ghostscript;qpdf
By installing, you accept licenses for the packages.
**no rtools was installed**

To Reproduce
It appears to me, that your builds does not install rtools 42 or 43 it seems

Run ./setup-r
  with:
    r-version: release
    use-public-rspm: true
    Ncpus: 1
    remove-openmp-macos: true
    install-r: true
    windows-path-include-rtools: true
    windows-path-include-mingw: true
    update-rtools: false
  env:
    GITHUB_PAT: ***
    R_KEEP_PKG_SOURCE: yes
D:\a\_temp\R-4.[2](https://github.com/r-lib/actions/actions/runs/4768111196/jobs/8477061688#step:4:2).[3](https://github.com/r-lib/actions/actions/runs/4768111196/jobs/8477061688#step:4:3)-win.exe /VERYSILENT /SUPPRESSMSGBOXES /DIR=C:\R
C:\ProgramData\Chocolatey\bin\choco.exe install ghostscript --no-progress
Chocolatey v1.3.1
Installing the following packages:
ghostscript
By installing, you accept licenses for the packages.

Ghostscript.app v10.0.0.20230317 [Approved]
ghostscript.app package files install completed. Performing other installation steps.
Installing 6[4](https://github.com/r-lib/actions/actions/runs/4768111196/jobs/8477061688#step:4:4) bit version
Installing Ghostscript.app...
Ghostscript.app has been installed.
  ghostscript.app may be able to be automatically uninstalled.
Environment Vars (like PATH) have changed. Close/reopen your shell to
 see the changes (or in powershell/cmd.exe just type `refreshenv`).
 The install of ghostscript.app was successful.
  Software installed as 'exe', install location is likely default.

Ghostscript v10.0.0.2023031[7](https://github.com/r-lib/actions/actions/runs/4768111196/jobs/8477061688#step:4:7) [Approved]
ghostscript package files install completed. Performing other installation steps.
 The install of ghostscript was successful.
  Software installed to 'C:\ProgramData\chocolatey\lib\Ghostscript'

Chocolatey installed 2/2 packages. 
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Expected behavior
Installs the correct version of rtools, all extendr R packages need >= rtools42

Additional context
main extendr CI pipelines have the same error now https://github.com/extendr/rextendr/actions/runs/4765374782/jobs/8472263529?pr=263


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4