Skip to content

Bring back noReferences, maybeReferenced#5

Merged
eddelbuettel merged 4 commits intoeddelbuettel:masterfrom
aitap:maybe_referenced
Nov 28, 2025
Merged

Bring back noReferences, maybeReferenced#5
eddelbuettel merged 4 commits intoeddelbuettel:masterfrom
aitap:maybe_referenced

Conversation

@aitap
Copy link
Contributor

@aitap aitap commented Nov 28, 2025

I don't have a strong opinion regarding this, but if you'd like to, you can make these functions use the NO_REFERENCES() entry point introduced in R-3.1.0.

Use the NO_REFERENCES() entry point introduced in R-3.1.0.
@eddelbuettel
Copy link
Owner

Oh gosh I rushed and wrote too soon. I see now (and removed the erroneous earlier post). You did not use REFCNT but restored the functionality via alternate means. That is of course much better. Appreciate it!

Can you please add a ChangeLog entry?

@aitap
Copy link
Contributor Author

aitap commented Nov 28, 2025 via email

2025-11-28 Ivan Krylov <krylov.r00t@gmail.com>

* inst/include/tidy/internals.h: Reintroduced noReferences,
maybeReferenced using a different R API function
Copy link
Owner

Choose a reason for hiding this comment

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

Thank you! The whitespace are off a little but I can take it from here.

@eddelbuettel
Copy link
Owner

eddelbuettel commented Nov 28, 2025

While I have you here, and while I still have your opus magnus blog post in a tab for re-reading (for months now ...) I have of course also been thinking about the R API site and possible automation. Do you think we can / should generate these include files automagically? Shall we open another issue to discuss that?

@eddelbuettel eddelbuettel merged commit 7532e3f into eddelbuettel:master Nov 28, 2025
3 checks passed
@aitap aitap deleted the maybe_referenced branch December 2, 2025 19:31
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