"omit_na=TRUE" keeps the string as is if the replacement is NA by yutannihilation · Pull Request #268 · gagolews/stringi
Fixes #267.