r-lib / rlang

Low-level API for programming with R
https://rlang.r-lib.org
Other
489 stars 131 forks source link

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

Closed olivroy closed 1 month ago

olivroy commented 2 months ago

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- commented 1 month ago

Thanks!