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

fixing some call_modify examples w/ NULL -> zap() #1767

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

jmobrien
Copy link
Contributor

Some examples in call_modify() predate the introduction of zap() and use the older [arg] = NULL syntax. In particular, this made line 560's example, call_modify(call, bar = NULL, bar = missing_arg()), no longer illustrate its key behavior. Changed that, plus 2 other (likely less important) examples where argument removal seems to have been intended.

Some examples in call_modify() predate the introduction of zap() and use the older `[arg] = NULL` syntax.  In particular, this made line 560's example, `call_modify(call, bar = NULL, bar = missing_arg())`, no longer illustrate its key behavior.  Changed that, plus 2 other (likely less important) examples where argument removal seems to have been intended.
@lionel- lionel- merged commit 628f4e4 into r-lib:main Dec 13, 2024
12 of 13 checks passed
@lionel-
Copy link
Member

lionel- commented Dec 13, 2024

Thanks!

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