Skip to content

Conversation

@Enchufa2
Copy link
Contributor

This PR sets the -DRCPP_NO_MASK_RF_ERROR flag to prevent Rcpp from masking valid calls to Rf_error.

At Rcpp, we plan to warn about this (see this issue for further discussion), and at some point stop the compilation with an error message, forcing the maintainers to take action. For valid uses of Rf_error, like in this package, we will provide this opt-out switch. Therefore, we kindly ask you to apply this patch and send an update to CRAN at your earliest convenience.

@Enchufa2
Copy link
Contributor Author

Check errors must be unrelated, because I just added a preprocessor flag.

Copy link
Collaborator

@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!

Check errors are definitely unrelated 🙂

@paleolimbot paleolimbot merged commit ad09e15 into r-spatial:main Dec 31, 2025
7 of 10 checks passed
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