Skip to content

Commit f9a830b

Browse files
Merge pull request #514 from TymekDev/wordlist-sorting
Make sorting consistent with spelling::update_wordlist
2 parents b739035 + 374248c commit f9a830b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

inst/hooks/exported/spell-check.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ if (nrow(spelling_errors) > 0) {
3838
original = unique(c(ignore, spelling_errors$word))
3939
)
4040
ignore_df$lower <- tolower(ignore_df$original)
41-
ignore_df <- ignore_df[order(ignore_df$lower), ]
41+
ignore_df <- ignore_df[order(ignore_df$lower, method = "radix"), ]
4242
ignore <- ignore_df$original[ignore_df$lower != ""] # drop blanks if any
4343
writeLines(ignore, path_wordlist)
4444
cat(

0 commit comments

Comments
 (0)