Skip to content

Commit

Permalink
avoid duplicated spelling issue markers
Browse files Browse the repository at this point in the history
fixes #134
  • Loading branch information
ThierryO committed Jul 19, 2024
1 parent 867835b commit f6ec490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check_spelling.R
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ rstudio_source_markers <- function(issues) { # nocov start
"`%s` not found in the dictionary or wordlist for %s.", issues$message,
issues$language
)
issues <- issues[order(issues$file, issues$line, issues$column), ]
issues <- unique(issues[order(issues$file, issues$line, issues$column), ])
issues$file <- as.character(issues$file)
# request source markers
rstudioapi::callFun(
Expand Down

0 comments on commit f6ec490

Please sign in to comment.