Replies: 5 comments 26 replies
-
Hey @sethrfore!! First of all, thanks a lot for your work and for this tap. It's been really useful. This is more or less the same case as with the QGIS tap… the dependencies that needed fine tuning were mounting and maintenance was really difficult. I'm using your tap mainly because I wanted to use the openblas library, but I really don't know if this also worth it. I'm really thinking to return to the R binary provided by "casks" and finish with this. |
Beta Was this translation helpful? Give feedback.
-
Another stupid question… Isn't the R binary accesible from the terminal? or do you need to link it? |
Beta Was this translation helpful? Give feedback.
-
Hi, @sethrfore! I find the problem when running the functions related to x11, for example
I follow your instructions to install R and actually I find in
However, in terms of such weird error I cannot find the proper solutions. Could you please help? Well, actually I am totally fine with current settings, but I am just sort of curious about such errors. BTW, what are the bad outcomes without x11 supported in R?
|
Beta Was this translation helpful? Give feedback.
-
I tried to version bump R to 4.2.2 on macOS 13 with the CLT 14.1 and XQuartz 2.8.2. the build fails: with the following message: |
Beta Was this translation helpful? Give feedback.
-
Looks like for R version 4.3.0 everything works again without changing the SDK version. |
Beta Was this translation helpful? Give feedback.
-
I wanted to start a discussion surrounding the ongoing support of R/X11 dependencies. The vast majority of issues I've dealt with while maintaining this repository have related to X11 either with respect to Cairo or Tcl-Tk. While not all issues have been terribly difficult to solve, there are a variety of considerations that have caused me (personally) to reconsider providing ongoing X11 support in the future.
Homebrew-core has opted to increasingly restrict core formula compiling options to facilitate a more streamlined and dependable work-flow. While I can fully appreciate this decision, a side effect has been that upstream R dependencies are increasingly bottled with options that are incompatible with certain R functionalities. Solving this requires creating and maintaining alternate versions of formulas with different compiling options than those supported in the core version.
If this issue were only restricted to first level dependencies, that would be one thing. However, it is increasingly not this simple. In some cases the build options for dependencies 3 or 4 levels removed from R are the source of issues requiring not just one new formula but new formulae for the entire chain of dependencies to ensure other packages build correctly. I suspect this will become an increasing challenge as core formulae become less flexible with their compiling options. Moreover, all these issues are compounded by ongoing changes to Xcode and Command Line Tools.
I know many of the issues that may arise could be quickly and easily addressed by someone with greater experience than I; however, I am not a developer by training and do not always have the time available to solve them. While I've been willing for and enjoyed most the work required to maintain all this in the past, the increasing complexity and time requirement has made me question my time allocation.
In conclusion, I'm not planning on deprecating R/X11 immediately, but unless others want to contribute and provide pull requests for issues, I'll likely only fix issues that are very quickly solved.
If issues arise that break R/X11 builds and they remain unaddressed, that's when I'll provide a notice and formally deprecate R/X11 support.
Having said all that, for whomever reads this, I will continue supporting a non-X11 R formula that offers greater functionality than the Homebrew-core version. Thanks to those that have contributed to maintaining this repo and feel free to provide your feedback or comments.
Beta Was this translation helpful? Give feedback.
All reactions