Skip to content

add PROTECT/UNPROTECT pairs for rchk#235

Merged
paleolimbot merged 1 commit intopaleolimbot:masterfrom
edzer:master
Dec 21, 2025
Merged

add PROTECT/UNPROTECT pairs for rchk#235
paleolimbot merged 1 commit intopaleolimbot:masterfrom
edzer:master

Conversation

@edzer
Copy link
Contributor

@edzer edzer commented Dec 20, 2025

This should fix the problems reported here.

Copy link
Owner

@paleolimbot paleolimbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

I wonder if Rf_getAttrib() being considered an allocating function is new or whether it just started allocating for some reason. (This code hasn't changed in a while)

@paleolimbot paleolimbot merged commit c4c68b1 into paleolimbot:master Dec 21, 2025
6 of 7 checks passed
@edzer
Copy link
Contributor Author

edzer commented Dec 22, 2025

It seems so; R core is hardening access to attributes to have better guarantees of their consistency, see here.

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