Apologies if I can't find an original post explaining how to do this tidyverse to data.table conversion.
I would like to mutate across all character vectors replacing <NA> values in character vectors.
How can I translate the following text to data.table?
library(tidyverse)
library(data.table)
mtcars <- mtcars %>% 
  mutate(across(where(is.character), ~na_if(.,"")))
 
     
    