rlang icon indicating copy to clipboard operation
rlang copied to clipboard

Low-level API for programming with R

Results 205 rlang issues
Sort by recently updated
recently updated
newest added

[`R CMD check`](https://github.com/wch/r-source/blob/d330a767725dba865f850d3ada21bc26afc6af9e/src/library/tools/R/QC.R#L4304-L4312), calls `codetools::checkUsageEnv`, which calls `codetools::checkUsage`, which calls `codetools::collectUsage` with a bunch of arguments set (that's where all the work happens). The key function appears to be `codetools:::checkUsageEnterGlobal()`:...

tidyeval
feature

From `?is_expression` : > in rlang, an expression is the return type of parse_expr(), the set of objects that can be obtained from parsing R code ``` r expr [1]...

`fn()` below oddly duplicates each input in `list2()` and I can't explain why ``` r library(rlang) x Rprofmem memory profiling of: #> list(...) #> #> Memory allocations: #> what bytes...

And possibly a variant where you can set the error call?

From `?rlang::is_expression`: > In rlang, an expression is the return type of parse_expr(), the set of objects > that can be obtained from parsing R code ``` r x [1]...

If `arg` in `arg_match()` is a character vector with more than one element (and is not a permuted version of `values`) the error message only mentions the first element. This...

These are aliases for `R_shallow_duplicate_attr()` and `R_duplicate_attr()` respectively Added in 2018, with R 3.6.0, so we can use them without issues in all R versions we support except for 3.5,...

Hello! I am using `is_installed()` and `check_installed()` in a pkg and they are great, thank you! I noticed in the case where you want to check multiple packages AND you...

Better document the `error` parameter of `check_dots_used()`. It redirects to `try_fetch()` but I don't see the link exactly https://github.com/r-lib/testthat/commit/932989cc0f1836ef1498c8fe755164f61d03bc35 Also, there is a mention of `check_dots_empty()` in the `check_dots_used()` docs....

Not sure if this is the right way to fix, but was useful enough for me for that I thought I'd share. reticulate stores it's conditions with the right classes...