rlang
rlang copied to clipboard
Low-level API for programming with R
``` r library(vctrs) vec_rbind(new_data_frame(list(x=NULL))) ``` With rlang 1.0.2: ```r Error in `vec_rbind()`: ! Unexpected `NULL`. ℹ In file slice.c at line 322. ℹ This is an internal error in the...
Admittedly, this stack trace is somewhat involved, with magic happening in a few frames. I was hoping to be able to hide reticulate internal frames from the traceback we present...
Or offer the option. When I think about cloning I think I will get an equivalent object, and it's not the case. ``` r e geom_point: na.rm = FALSE #>...
Due to it calling `system.file()`, which is typically around half the time of `is_installed()` or `check_installed()`. Would also be good to look into what the rest of the time is...
``` r library(rlang) # 2 fields, but length 5 x [1] "" "" ``` Created on 2023-03-10 with [reprex v2.0.2.9000](https://reprex.tidyverse.org)
Hopefully by just moving the `check_environment()` checks to C. I can live with no `default` being slow, although that does kind of stink. This is one place where it feels...
Setting a data frame column in a data frame named `df` or `nrow` gives an interesting error message with R built with `--enable-strict-barrier` . This doesn't happen with a data...
Maybe `rlang:::use_rlang_c_library()` can somehow add nocov tags to the files?
https://github.com/tidyverse/purrr/pull/1034#discussion_r1061269543
Should preserve the `call` field as is (especially since it carries srcrefs). We could record the information in other private fields.