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

Show how to use call = base::call() in abort() #1704

Merged
merged 2 commits into from
May 31, 2024
Merged

Conversation

olivroy
Copy link
Contributor

@olivroy olivroy commented Apr 26, 2024

I discovered yesterday that if you wanted to hard-code the call argument, it was possible, but never found this in rlang's abort() documentation,

I thought adding an example could be useful? Sometimes, I think it can be useful to hard-code it? May be easier to learn to use this than all of rlang's infrastructure.

@lionel- lionel- merged commit d7be54d into r-lib:main May 31, 2024
12 checks passed
@lionel-
Copy link
Member

lionel- commented May 31, 2024

Thanks!

lionel- added a commit that referenced this pull request May 31, 2024
* Show how to use call = `base::call()`

* Tweak wording and fix missing `message` argument

---------

Co-authored-by: Lionel Henry <lionel.hry@gmail.com>
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