HughParsonage
HughParsonage
As upsetting as it might be, the correct course of action, at least in the meantime, may be to ask CRAN to archive the package. The purpose this package is...
Indeed, why not simply: ```r replace_with_NA_all
>Have you got any thoughts on how that would work for _at and _if ? My initial reaction would be to limit `.predicate` to functions, like: ```r function(df, .predicate, condition)...
Yeah, current version gets a bit slow... ``` bench::mark(replace_with_na_all_if_(DT2[, 1:5], is.integer, ~.x < 0), replace_with_na_if(DT2[, 1:5], is.integer, ~.x < 0)) # A tibble: 2 x 14 expression min mean median...
Consider the similar argument in `dplyr` where `.predicate` can accept anonymous functions like: ```r iris %>% dplyr::summarise_if(.predicate = ~ is.double(.) && mean(.) > 0, sum) ``` yet `rlang::is_function(~is.double(.) && mean(.)...
Extant functions include `dplyr::coalesce` and `hutils::coalesce` (by me).
Anyone is free to copy, modify, publish, use, compile, sell, or distribute my contribution to this repository ("the software") either in source code form or as a compiled binary, for...
Is this suitable? ```r microbenchmark_by
All internal data is defined and saved via `data-raw/put-data.R`. The script is very complicated. While some simplification is possible, care should be taken not to change too much because it's...
`per` parameter is definitely needed. Agree to make it consistent. However, emit a message if per is missing.