remove_diacritics | R Documentation |
Comes practical when some functions doesn't work well with UTF-8 characters. Like for example roxygen documentation generator ;-)
remove_diacritics(string)
string |
A character vector to be transformed |
A character vector without Polish diacritic letters
remove_diacritics("Wis\u0142a i \u017C\u00F3\u0142\u0107") # -> "Wisla i zolc" # Unfortunately Roxygen documentation can have non ASCII characters only as escape characters
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.