Skip to content

Commit

Permalink
Fix global variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
rfsaldanha committed Mar 25, 2024
1 parent f0fcafe commit 25fbb87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/check_selection.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ check_selection <- function(ask_modify = TRUE, language = NULL){
}

proof$keep <- ifelse(proof$shortMessage == "Spelling mistake" & proof$mistake %in% get_user_dic(), FALSE, TRUE)
proof <- subset(proof, keep == TRUE)
proof <- subset(proof, proof$keep == TRUE)
proof$keep <- NULL
}

Expand Down

0 comments on commit 25fbb87

Please sign in to comment.