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

macOS brew support? #81

Open
caiohamamura opened this issue Mar 27, 2021 · 4 comments
Open

macOS brew support? #81

caiohamamura opened this issue Mar 27, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@caiohamamura
Copy link
Contributor

Could we add in the guidelines to also include MacOS brew support?

The package names from there are really straightforward:

brew install gdal
brew install gsl
brew install hdf5
...
@caiohamamura
Copy link
Contributor Author

caiohamamura commented Mar 27, 2021

If there is nothing against it I would love to contribute

@schloerke
Copy link
Contributor

This would also allow rstudio/shiny to not have to need custom installation for mac.

      # https://stackoverflow.com/a/66568545/591574
      #> fatal error: 'X11/Intrinsic.h' file not found
      - name: Install Cairo macOS R devel dependency
        if: runner.os == 'macOS' && matrix.config.r == 'devel'
        run: |
          brew install libxt
      # xquartz and cairo are needed for Cairo package.
      # harfbuzz and fribidi are needed for textshaping package.
      - name: Mac systemdeps
        if: runner.os == 'macOS'
        run: |
          brew install --cask xquartz
          brew install cairo
          brew install harfbuzz fribidi

@schloerke
Copy link
Contributor

Update of my latest installation script: https://github.com/rstudio/shinycoreci/blob/main/.github/actions/install-mac-deps/action.yaml

Having RSPM macOS support would be a big step forward in supporting operating systems outside of Linux

@glin
Copy link
Contributor

glin commented Nov 19, 2021

Hi, sorry for the delay in response. Support for macOS system requirements and precompiled binary packages are on the roadmap for RSPM, but I can't say where right now. And although brew support could potentially be added to this repo, it would still require macOS support in RSPM to be fully useful (system requirements API support, binaries).

This feedback helps a lot though, so thank you, I've added this as additional votes to the feature request internally.

In case it helps, R-hub's sysreqsdb API and client package currently provide brew package names for a lot of packages.

@glin glin added the enhancement New feature or request label Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants