R/replace.r
str_replace_na.Rd
Turn NA into "NA"
str_replace_na(string, replacement = "NA")
Input vector. Either a character vector, or something coercible to one.
A single string.
str_replace_na(c(NA, "abc", "def"))#> [1] "NA" "abc" "def"