Skip to content

Commit bf66da3

Browse files
committed
fix warning in checks by removing non ASCII
1 parent 356fce9 commit bf66da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/01-utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ make_names_vec <- function(x)
8787
nms <- stringr::str_replace_all(nms, "\\.|-|/|\\(|\\)|&|\\?", "_") # replace . - \ ? to _ (underscore)
8888
nms <- stringr::str_replace_all(nms, "[_]+", "_") # replace multiple underscores by one
8989
nms <- stringr::str_replace_all(nms, "[_]+$", "") # remove trailing underscores
90-
nms <- stringr::str_replace_all(nms, "ß", "ss")
90+
nms <- stringr::str_replace_all(nms, "\u00DF", "ss")
9191
nms <- stringr::str_replace_all(nms, "\u00E4", "ae") # replace German umlauts by their two letter ASCII version
9292
nms <- stringr::str_replace_all(nms, "\u00FC", "ue")
9393
nms <- stringr::str_replace_all(nms, "\u00F6", "oe")

0 commit comments

Comments
 (0)