I used to clean my dataframe by defining NA values as such:
my_df%>%
dplyr::mutate_all(funs(na_if(., "N/A") ))
Basically, I want to set certain values to NA across my entire dataframe. It worked well until the latest package update. It fires the following error: Caused by error in `na_if()`: ! Can't convert `y` <character> to match type of `x` <double>
There is a related question, but the answer is not working on the entire data frame in one go.