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
split r header to r_devel maybe is not a good idea #7750
Comments
It isn't that hard, had a talk about this with someone on IRC and he told me the headers are not really needed at runtime. Could you give an example for this? |
just exmaple, after installed R(r_devel not installed ) in R console run install.packages("curl") this will failed , because curl package (https://github.com/jeroen/curl) contains c source code , which need R headers and libs to compile. |
on debian linux , it indeed split R to base and base-dev, but debian also build lots of cran r package for user to installed. apt-cache search "^r-.*" | sort so on debian when user install an R package , he/she can choose install pre-build package use APT , instead of R install.packages() command. |
For what it's worth... For Python packages we do include libs and headers as part of the main packages, as If installing packages that need compiling is the usual modus operandi for R users, and unless including the libs/headers adds way too much size to the base package, IMO[*], they should be included. Problem with things like [*] in my unsolicited opinion, aka... just my 2 cents. |
yeah , IMO when use R ,installing packages that need compiling usually unavoidable for R users. |
OK, I'm still not against it, one point I'd like to make, you can rund SDL games on Haiku with all the work that has been done here (runtime dependencies), if you like to create something that relies on SDL you would need the headers that are stored in the devel package (as it has been for many years and still valid), it doesn't make much change to put all this in in "one" package only, but the idea is to have a runtime dependency and a build dependency ? |
IMHO, SDL itself is a library(runtime and dev dependency ) ,people write application base on it . but R is data analysis tool for most user , install an R packages is extend R function like python package(haikuports have lots python-* packages,but none R packages), so it better no split. so haikuport will not need prebuild lots of r package like python? |
Doing a local build atm with all included in one package, will give you a heads up when things are fine and ready to be merged, thanks on the feedback. |
Should be fixed in #7755 Could you give a notice if that one is working for you? (build on 64bit buildmaster finished, 32bit about to finish, so you can update in a short while). |
test on haiku-os 64bit, uninstall and re-install R , install.packages work smoothly , thank you very much. |
Fixed, please make a new issue if something else comes up. :) Thanks for the reports! |
split r header to r_devel Maybe is not good idea. Most r user will install r packages when using R, if package contains c or fortran code, the installation will failed if r_devel not installed. Could we include r header and lib to r pacakge?
The text was updated successfully, but these errors were encountered: