I have a dataframe (combined from many HTML tables) that has an address column. Some values in this column include line breaks (\r\n), but no matter what I've tried with gsub {gsub("[\r\n]", " ", tabletest)} or str_replace {(tr_replace_all(tabletest, "\r\n" , " ")} it's still returning strings with \r\n in tabletest.
The column is char values, I've tried running it with as.matrix {str_replace_all(as.matrix(tabletest), "(\r\n)" , " ")}
Reprex coming shortly.