rlang
rlang copied to clipboard
Low-level API for programming with R
https://github.com/r-lib/rlang/blob/c55f6027928d3104ed449e591e8a225fcaf55e13/R/import-standalone-defer.R#L87 ```r > rlang::local_options(foo = 1) Setting global deferred event(s). i These will be run: * Automatically, when the R session ends. * On demand, if you call `withr::deferred_run()`. i...
Is it possible to use `check_installed()` to check for and install a remote package? If I use a remote only package, e.g. `rlang::check_installed("hadley/emo")`, it fails to detect when the package...
e.g. it would be nice if this worked: ```R f
In the [examples of `call_modify()`](https://rlang.r-lib.org/reference/call_modify.html#ref-examples), there is this part: ```r # By default, arguments with the same name are kept. This has # subtle implications, for instance you can move...
e.g. make this just work: ```R f
https://www.stats.ox.ac.uk/pub/bdr/memtests/valgrind/purrr/tests/testthat.Rout
https://github.com/tidyverse/purrr/issues/1089
``` r x [1] "c(``a`` = 1)" deparse1(x) #> [1] "c(`\\`a\\`` = 1)" ``` Created on 2023-07-26 with [reprex v2.0.2](https://reprex.tidyverse.org)
``` r x ! Arguments in `...` must be used. #> ✖ Problematic argument: #> • ..1 = TRUE #> ℹ Did you misspell an argument name? ``` Created on...
The example here https://rlang.r-lib.org/reference/call2.html that reads `ns_call