sort_linter
suggests wrong code when x[order(...)]
takes multiple vectors
#2156
Labels
false-positive
code that shouldn't lint, but does
Milestone
Here is a reprex:
Obviously
sort(y, na.last = TRUE)
does not generate whatx[order(y, x)]
does.The text was updated successfully, but these errors were encountered: