r-lib / rlang

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

Add `substitute_q()` in `rlang`? #1617

Closed Sciurus365 closed 1 year ago

Sciurus365 commented 1 year ago

Hi, I found the pryr::substitute_q() function very helpful in substituting some variables of an expression, but the pyry is superseded and the same functionality is not provided in rlang. Would you consider adding it to rlang, or is another approach recommended now? Thanks.

lionel- commented 1 year ago

Unfortunately the style of metaprogramming implemented in substitute_q() is currently out of scope for rlang. You can keep using the pryr function though.