Nick Christofides

Results 5 comments of Nick Christofides

It's worth noting that `all.equal()` is not commutative and so the order of arguments matters. See the example below. ``` r all.equal(10^-8, 2 * 10^-8) #> [1] TRUE all.equal(2 *...

I was wondering if a decision regarding the defaults had been reached? It's causing issues with one of my packages that expects a single row per group. I personally think...

I'm not sure how "robust" it is but I did get the idea from this thread which suggests adding 0 to eliminate negative zeros: https://stackoverflow.com/questions/13767744/detecting-and-adjusting-for-negative-zero It seems to work in...

> I added a branch "zero_dups" with this feature implemented in C `remotes::install_github("SebKrantz/collapse", ref = "zero_dups")`. Seems to work. You can help me benchmark it. I think it's like a...

> Actually I just tested, using an integer 0 is pretty fast! @NicChr can you confirm that adding an integer 0 (0 instead of 0.0) gives much less performance cost?...