Skip to content

Commit 088f876

Browse files
remove apparently vestigial check
1 parent 7c8d2f7 commit 088f876

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

R/data.table.R

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2028,10 +2028,6 @@ replace_dot_alias = function(e) {
20282028
if (!key_length)
20292029
return(NULL)
20302030

2031-
## check key on i as well!
2032-
if (is.logical(i))
2033-
return(head(x_key, key_length))
2034-
20352031
# i has the correct key, #3061
20362032
if (identical(head(key(i), length(leftcols)), names_i[leftcols]))
20372033
return(head(x_key, key_length))

0 commit comments

Comments
 (0)