You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[R] Compilation errors on continuous benchmarking #48912
------------------------- NOTE ---------------------------
Cannot install arrow: a C++20 compiler is required.
See https://arrow.apache.org/docs/r/articles/install.html
---------------------------------------------------------
@jonkeane Did some digging but very much 🤖 powered so can you confirm if this sounds right to you?
I investigated the buildkite logs comparing build 305 (last passing) and build 306 (first failing, which included the C++20 PR).
Both builds use the same R version (4.5.2) and compiler (conda-forge gcc 14.3.0), which supports C++20. However, conda-forge's R build only has CXX17 configured in its Makeconf, not CXX20.
Arrow's configure script checks R CMD config CXX20 which returns empty because conda-forge's R wasn't configured with CXX20 support - even though the underlying compiler supports it.
This looks like a conda-forge r-base packaging issue rather than something we can fix in arrow-benchmarks-ci. Their R recipe needs to ensure CXX20 is configured when built with a C++20-capable compiler.
This looks like a conda-forge r-base packaging issue rather than something we can fix in arrow-benchmarks-ci. Their R recipe needs to ensure CXX20 is configured when built with a C++20-capable compiler.
This might be a bigger lift, but do we need to use conda-forge for this?
Activity
pitrou commentedon Jan 20, 2026
It seems the benchmarking suite calls this
build_arrow_rfunction. @thisisnicrok commentedon Jan 21, 2026
As per buildkite log they first failed with #48819 and ever since.
thisisnic commentedon Jan 21, 2026
@jonkeane Did some digging but very much 🤖 powered so can you confirm if this sounds right to you?
I investigated the buildkite logs comparing build 305 (last passing) and build 306 (first failing, which included the C++20 PR).
Both builds use the same R version (4.5.2) and compiler (conda-forge gcc 14.3.0), which supports C++20. However, conda-forge's R build only has CXX17 configured in its Makeconf, not CXX20.
Arrow's configure script checks R CMD config CXX20 which returns empty because conda-forge's R wasn't configured with CXX20 support - even though the underlying compiler supports it.
This looks like a conda-forge r-base packaging issue rather than something we can fix in arrow-benchmarks-ci. Their R recipe needs to ensure CXX20 is configured when built with a C++20-capable compiler.
rok commentedon Jan 22, 2026
For the record, we're currently using this arrow-benchmarks-ci repo.
jonkeane commentedon Jan 22, 2026
This might be a bigger lift, but do we need to use conda-forge for this?
thisisnic commentedon Jan 23, 2026
I'll look into if we can switch it over, will tag you once I have a PR up
GH-48912: [R] Configure C++20 in conda R on continuous benchmarking (#…
thisisnic commentedon Jan 27, 2026
Issue resolved by pull request 48974
#48974
Task #0: Add ORC column statistics APIs (#2)
Task #0: Add ORC column statistics APIs (#2)
apacheGH-48912: [R] Configure C++20 in conda R on continuous benchmar…