r-lib / rlang

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

`abort()` should respect `options(show.error.messages = FALSE)` #1630

Closed DavisVaughan closed 1 year ago

DavisVaughan commented 1 year ago

i.e. right here: https://github.com/r-lib/rlang/blob/b8cb26d89dcfbd8bdac1bbff3d6d31ccdc8ceee4/R/cnd-abort.R#L872

so that if the user requests "no error messages" then rlang errors don't print anything out, just like base R errors