Skip to content

Conversation

@Enchufa2
Copy link

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
Author

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

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.

1 participant