Skip to content

Commit

Permalink
Update R/did_you_mean.R
Browse files Browse the repository at this point in the history
  • Loading branch information
mb706 authored Oct 2, 2024
1 parent 4666d5a commit fe20c7d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/did_you_mean.R
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ did_you_mean_dicts = function(key, dicts) {

# Order the suggestions by their closest match
suggestions = suggestions[order(min_distance_per_dict)]
# Remove empty suggestions (i.e., dictionaries with no close matches)
# Only show the 3 dictionaries with the best matches
valid_suggestions = head(valid_suggestions, 3L)

Expand Down

0 comments on commit fe20c7d

Please sign in to comment.