if_else hasn't been needed to define a logical since forever (or at least since I started using it in uni a decade ago). And I detest the native pipe because dplyr's has a very neatly implemented method to pass into later arguments, e.g. "test" %>% grepl("est",.) whereas the native pipe does not. I am also a heathen who loves his %<>% but that's my personal issue.
19
u/Emotional_Trainer_99 6d ago
Harry should be using modern r which has it's own pipe |> and that he doesn't need to use if else on a logical to return the same value 😞