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/409 below:

Ability to exclude Suggests in setup-r-dependencies@v1 · Issue #409 · r-lib/actions · GitHub

Describe the bug
Rmpi is listed in "Suggests" in my package, but fails to build in macos.
I'd like to exclude Rmpi from the dependencies installed by setup-dependencies-r@v1.

To Reproduce

https://github.com/MLopez-Ibanez/irace/runs/3888657260

Expected behavior

An action option allowing to either only install "Depends", "Imports" and "LinkingTo" (the default in remotes::install_deps() or to explicitly exclude packages.

Something like:

      - uses: r-lib/actions/setup-r-dependencies@v1
        if: runner.os == 'Linux'
        with:
          extra-packages: |
             devtools
             rcmdcheck
      - uses: r-lib/actions/setup-r-dependencies@v1
        if: runner.os != 'Linux' 
        with:
          extra-packages: |
             devtools
             rcmdcheck
         exclude: Rmpi

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