Kirill Müller
Kirill Müller
We need to distinguish between trailing zeros and non-significant digits. IIUC, https://github.com/r-lib/pillar/issues/97#issuecomment-384420760 suggests showing more significant digits by default, and only highlighting the "really significant" digits. We can prototype in...
And formulas: ``` r library(tidyverse) tibble::tribble( ~var, ~my_func, "ABC", ~ tolower(var), "abc", ~ toupper(var) ) #> # A tibble: 2 × 2 #> var my_func #> #> 1 ABC #>...
Thanks. A few thoughts: - Typing speed is often less relevant than reading speed, in particular for production code that is ever read after being written (e.g., any script not...
#236 is another reason to teach users the longer form first: ``` r library(magrittr) mtcars$cyl %>% forcats::as_factor #> Error in .::forcats: unused argument (as_factor) ``` Created on 2020-12-05 by the...
I'm seeing the same behavior with magrittr 1.5: ``` r library(magrittr) mtcars$cyl %>% forcats::as_factor #> Error in .::forcats: unused argument (as_factor) ``` Created on 2020-12-05 by the [reprex package](https://reprex.tidyverse.org) (v0.3.0)...
I fine with `5 %>% "*"(2)` instead of `5 %>% multiply_by(2)`. (Backticks are only accessible via dead key in my layout.) However, I do have existing code that depends on...
In this particular case accessing an ALTREP vector seems to fail, which leads to errors in `saveRDS()` . The error can be caught with `tryCatch()` . I wonder what's a...
I'm positive that the exit is due to a traceable error -- I could `tryCatch()` the `saveRDS()` call and enter the `error =` handler. One question that remains is what...
I don't mind recycling along dimensions when matrices are involved. But there's also: ``` r matrix(0, nrow = 2, ncol = 3) + 1:3 #> [,1] [,2] [,3] #> [1,]...
I've added a second, less invasive proposal to the original post. We might be able to implement this change in a fully back-compatible "opt-in" way. @HenrikBengtsson: Am I understanding top-level...