Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R-package] Use Rf_-prefixed versions of protect/unprotect #6502

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

david-cortes
Copy link
Contributor

From similar PR in XGBoost: dmlc/xgboost#10465

This PR modifies the R C-level function code to call the versions of protect/unprotect that have Rf_ prefixes. This is currently not required by CRAN as their non-Rf equivalents PROTECT/UNPROTECT are simple defines aliasing to Rf_protect/Rf_unprotect, but the situation might change in the future.

Copy link
Collaborator

@jameslamb jameslamb 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! Totally agree with this.

@jameslamb jameslamb merged commit e9a6c79 into microsoft:master Jun 21, 2024
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants