rlang
rlang copied to clipboard
Low-level API for programming with R
`rlang` offers a family of functions that operate on list expressions (this includes `enxprs`, `enquos`, but also `dots_list`). Most of these functions offer optional support for enforcing list element names...
Currently the lexical scope of environments that escape data masking contexts is rather undefined. These environments consistently include the masked data but beyond that it depends which quosure was first...
Hi I have trouble understanding the use of `.homonyms` in `enquos()`. I thought it would keep/filter arguments of the same name, which I understand to be inputs in `...`. Now...
```r rlang::eval_tidy(... ~ 1) #> Error in rlang::eval_tidy(... ~ 1) : '...' used in an incorrect context rlang::eval_tidy(1 ~ ...) Error in rlang::eval_tidy(1 ~ ...) : '...' used in an...
We could replace formulas by `rlang::q(expr, )` calls (or `rlang::q(expr)` if we store the env in attributes like with formulas, but I like @brodieG's idea of leaving it apparent in...
``` r f Error: 1 components of `...` were not used. #> #> We detected these problematic arguments: #> * `a` #> #> Did you misspecify an argument? ```