purrr
purrr copied to clipboard
A functional programming toolkit for R
Greetings! Thank you for allowing an easier way to catch errors from functions using `possibly()`. However, the function is a bit unclear to me in what it returns (under "Value"...
In the accumulate examples here: https://purrr.tidyverse.org/reference/accumulate.html, I think there maybe a wrong description for the example block below. I think last and first need to be swopped. This: With an...
"insistently() and possibly() are a useful combination" - from purrr documentation The combination of safely + insistently I would argue could also be very useful IF insistently captured the root...
`accumulate` does not preserve Date class. I would have expected that `carried` would be of Date class as the anonymous function returns Date class objects but `carried` in out is...
I am looking at the [documentation page](https://purrr.tidyverse.org/reference/list_modify.html), and it mentions that it may be deprecated, but I do not see any indication of that. Also, I see no usage examples...
This issue ocurr to me as I do Structural Decomposition Analysis (using Input-Output matrices and etecetera) , and found no function like this in the purrr package and no issue...
Hi, I don't think this is currently possible, but I was wondering if there is the possibility to somehow support `tidyselect` syntax when using `pmap` or its variates within a...
Idea for a feature related to pmap_dfr: It may be useful to implement a version of pmap_dfr that has will not crash upon receiving an input that throws an error,...
New line required in `is_numeric()` documentation https://github.com/tidyverse/purrr/blob/5aca9df41452f272fcef792dbc6d584be8be7167/R/predicates.R#L3-L8 The text starting "This function tests..." is rendered as part of the third bullet. Suggest change to: ``` #' Numeric is used in...
`flatten_chr` and `map_chr` uses a maximum 6 digits precision when casting doubles to char. ```r x [1] "0.000000" "0.000000" sapply(x, as.character) #> [1] "1e-07" "1e-08" ```