-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
ARROW-13768: [R] Allow JSON to be an optional component #11046
Conversation
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this looks good, thanks for doing this! @ianmcook since you did the dataset/parquet changes, could you glance over this too?
I should add that I'm more confident in my R than my C++ programming. There are almost certainly mistakes here. The standard checks all have JSON on. Something like |
The minimal build checks ran and look good |
Thanks for doing this @karldw! You've waded into a tricky part of the package that has some dependencies on external systems :) When we add new cflags to the arrow R package build scripts, we also need to open PRs add them in two other repositories: autobrew/scriptsYou can template this on autobrew/scripts#10 conda-forge/r-arrow-feedstockYou can template this on conda-forge/r-arrow-feedstock#30 |
Should there be a change to |
I believe not; I don’t think there is any |
Good catch, I had this feeling that I was forgetting some other place this would break. We can merge this PR now though right? Just need to make sure those other scripts are updated before the October release (though we can do it sooner than that). |
I was looking to test the case where the R side is compiled against a C++ library built with |
Check the "R package without arrow" build |
Yes, the only other thing that I think needs to be done is to apply the same change made in autobrew/scripts#11 to the file |
rapidjson is (I believe) vendored on the fly and pulled into libarrow itself; if it were bundled like other third-party dependencies, it would get zipped up into libarrow_bundled_dependencies. So we're good. |
@github-actions crossbow submit test-r-minimal-build |
Revision: 2355196 Submitted crossbow builds: ursacomputing/crossbow @ actions-810
|
Also it looks like there is an example in You will need the dev version of roxygen2 to update the docs because the released version doesn't have Looks like there's also a merge conflict now but fortunately it's on a generated file (arrowExports.cpp) so you can rebase and resolve that conflict however you want, then next time you build and install, the codegen script will run and fix it. (Happy to help if that all gets too messy too.) |
Ah, thanks! I'm surprised by that, since I thought I had already set |
@github-actions crossbow submit test-r-minimal-build |
Revision: 88ff084 Submitted crossbow builds: ursacomputing/crossbow @ actions-811
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thanks @karldw! I will merge.
I templated from ARROW-11735. Let's see how all the tests go! Closes apache#11046 from karldw/arrow-12981 Authored-by: karldw <karldw@users.noreply.github.com> Signed-off-by: Ian Cook <ianmcook@gmail.com>
I templated from ARROW-11735. Let's see how all the tests go! Closes apache#11046 from karldw/arrow-12981 Authored-by: karldw <karldw@users.noreply.github.com> Signed-off-by: Ian Cook <ianmcook@gmail.com>
I templated from ARROW-11735. Let's see how all the tests go!