rlang
rlang copied to clipboard
Low-level API for programming with R
Since we want to do that in so many functions?
I came across this error when using dplyr library **"distinct(across(everything()))"**, but the error message pointed to rlang. Please find a reprex below. Distinct function was working on the existing code...
This saves me a click
Hi, This is probably a quibbling corner case of minor importance but it seems that the concatenation of `quo()` and `quos()` depends on the order of the operation: ``` r...
```R # in dplyr devtools::load_all() count(mtcars, foo) rlang::last_trace() #> Error in `count()`: #> ! Failed to count data #> Caused by error in `group_by()` at dplyr/R/count-tally.R:72:6: #> ! Must group...
Summarizing a slack conversation with @lionel- I'd be interested in an rlang substitute for `stopifnot()`. Recently, I've switched all conditions in reprex to rlang. Well, except for places where I...
This would be more accessible and could may be used automatically by the IDE team.
``` r library(rlang) fn_quos #> expr: ^ #> env: empty fn_enquos() #> #> #> named list() ``` This came up in a revdepcheck of dplyr with the headliner package. It...
instead of `utils::packageVersion()`. This is more robust in the case of multiple package libraries, and also faster. Should we provide a helper to get the version of a loaded package?...