Skip to content

Fix R CLOENV - for release and master - #2585

Merged
blowekamp merged 1 commit into
SimpleITK:releasefrom
blowekamp:fix_r_cloenv
May 5, 2026
Merged

blowekamp merged 1 commit into
SimpleITK:releasefrom
blowekamp:fix_r_cloenv

Conversation

@blowekamp

Copy link
Copy Markdown
Member

R 4.6.0 removed the non-API macro CLOENV from its public headers. The replacement R_ClosureEnv() was added in R 4.5.0. Add a version- guarded backport so that builds against older R versions (< 4.5.0) continue to work.

Related to #2574

@blowekamp
blowekamp changed the base branch from main to release May 5, 2026 15:39
R 4.6.0 removed the non-API macro CLOENV from its public headers.
The replacement R_ClosureEnv() was added in R 4.5.0. Add a version-
guarded backport so that builds against older R versions (< 4.5.0)
continue to work.

Related to SimpleITK#2574
@blowekamp
blowekamp marked this pull request as ready for review May 5, 2026 18:42
@blowekamp blowekamp changed the title Fix r cloenv Fix R CLOENV - for release and master May 5, 2026
@blowekamp
blowekamp requested review from dave3d and zivy May 5, 2026 19:33
@blowekamp
blowekamp merged commit 3c2d1b5 into SimpleITK:release May 5, 2026
7 of 8 checks passed
@blowekamp
blowekamp deleted the fix_r_cloenv branch September 9, 2026 12:55
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

Successfully merging this pull request may close these issues.

2 participants