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

MINOR: [R] switch on R_VERSION #43504

Merged
merged 2 commits into from
Aug 1, 2024
Merged

Conversation

jonkeane
Copy link
Member

@jonkeane jonkeane commented Aug 1, 2024

A follow on to #43243 #ifdef function declaration does not work, instead we must use the #if (R_VERSION >= R_Version(4, 2, 0)) pattern to only include code for specific versions.

r/src/arrow_cpp11.h Outdated Show resolved Hide resolved
Co-authored-by: Neal Richardson <[email protected]>
@jonkeane jonkeane merged commit 0b9f06c into apache:main Aug 1, 2024
11 checks passed
@jonkeane jonkeane removed the awaiting committer review Awaiting committer review label Aug 1, 2024
@jonkeane jonkeane deleted the r_existsVarInFrame branch August 1, 2024 21:55
Copy link

After merging your PR, Conbench analyzed the 4 benchmarking runs that have been run so far on merge-commit 0b9f06c.

There were no benchmark performance regressions. 🎉

The full Conbench report has more details. It also includes information about 2 possible false positives for unstable benchmarks that are known to sometimes produce them.

jonkeane added a commit that referenced this pull request Aug 5, 2024
A follow on to #43243 `#ifdef function declaration` does not work, instead we must use the `#if (R_VERSION >= R_Version(4, 2, 0))` pattern to only include code for specific versions.

Lead-authored-by: Jonathan Keane <[email protected]>
Co-authored-by: Neal Richardson <[email protected]>
Signed-off-by: Jonathan Keane <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants