-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
quote path in CxxFlags #1189
quote path in CxxFlags #1189
Conversation
It's a wee bit circular but I just approved the changes I made ... after requesting them first :) Will let it sit for a bit and merge if nobody complains... |
Thanks! I approve of your changes as well, not that you needed it here. :-) |
Is it possible that this change has compromised building on macOS monterey and R 4.0.4? I am seeing a failure on 1.0.10 that was not occurring on 1.0.7:
The content of src/Makevars is as follows:
I am unsure if this is due to the addition of the quotes, but it seems so. In 1.0.7 I obtained:
|
Why do you use Edit And |
Because the package was developed a decade ago. |
but that's beside the point... it used to work until 1.0.7. I am not saying I won't change the process. I am just puzzled that it broke for this. |
You appear to want to have it both ways: Use your code from ten years ago unchanged, yet rely an brand-new contributed code? Is see a disconnect here. Many packages among the 2600+ on CRAN that use Rcpp also started a long time ago, yet managed to update their processes. In any event, we (and CRAN) test rigourously, and I think most people find that playing with (rather than against) that setup works for them. If you manage to isolate a breakage, please try to reproduce it in a minimal setup on current versions. |
I don't deploy on CRAN. All I know is that I get dumped a 10 years old package on my lap and have to make it work, and all I know is that with 1.0.7 of Rcpp it worked and with a patchlevel version bump it doesn't. |
So maybe just use an Rcpp version from ten years ago as I suggested earlier? Rcpp versions 1.0.8 and 1.0.9 and 1.0.10 all got released after 1.0.7. You have plenty of choices to pin the "historic" Rcpp-using package you work with to other versions that most likely once worked with it. There is a subculture out there that thinks pinning is a solution; it is particularly popular with users of other languages that do not have a system like CRAN and fail to appreciate how to work with CRAN (and benefit from it). So be it -- it's a big tent out there and people can do as they please. But Rcpp is a CRAN package, and one that works hard to be in good standing at CRAN. And which has a 15-year history of being in good standing. You are more than welcome to ignore that body of work and use random code combinations, but you cannot expect us to appreciate such undertakings. We prefer to focus on other things which also happen to be meaningful to other users. |
Pull Request Template for Rcpp
Closes #1188.
Checklist
R CMD check
still passes all tests