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

Remove System Requirements: GNU make by default? #134

Open
statasaurus opened this issue Feb 21, 2025 · 6 comments
Open

Remove System Requirements: GNU make by default? #134

statasaurus opened this issue Feb 21, 2025 · 6 comments

Comments

@statasaurus
Copy link

I used rstantools to add stan to an existing package. And now I am putting it into cran, I have got feedback from CRAN that it shouldn't really be used as rstan can deal with the more recent standards. So should this be removed?

SystemRequirements: GNU make

@andrjohns
Copy link
Collaborator

We add GNU make as a requirement since the makefiles use shell calls for setting compiler flags (in the same way as the RcppParallel package), which isn't standard POSIX-make syntax and causes an R CMD check error.

Would you be able to share what the exact feedback from CRAN was? We haven't heard about it from any of our other packages, so would be good to know if there's an upcoming change/requirement that we'll need to accommodate

@statasaurus
Copy link
Author

Sure, Yeah I got this message from Uwe

Well, rstan can deal with all more recent standards these days, so I
believe you could also use C++ standards newer than 11? Note that 11
support will be dropped by some modern compilers. So dropping that
requirement would really be welcome.

@andrjohns
Copy link
Collaborator

Ah yes that's not referring to GNU make. Do you have SystemRequirements: C++11 or similar in your DESCRIPTION file?

@statasaurus
Copy link
Author

Sorry, I was only grabbing part of the email chain the first was this

Thanks, we see:

GNU make is a SystemRequirements.

Is this really required?

@andrjohns
Copy link
Collaborator

Got it! In that case you can just provide my comment above as a response from the rstan devs for why we add GNU make (or link to this github issue)

@statasaurus
Copy link
Author

Thank you for your quick response 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants