Closed statzhero closed 1 year ago
This seems not good. Thoughts?
> dplyr::na_if(1:5, 5:1) [1] 1 2 NA 4 5 > tidytable::na_if(1:5, 5:1) [1] NA NA NA NA NA
Ah that's not good. Looks like I built the wrong logic for when length(y) > 1.
length(y) > 1
All fixed - thanks for catching this.
tidytable::na_if(1:5, 5:1) #> [1] 1 2 NA 4 5
This seems not good. Thoughts?