We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190cd98 commit 785e53eCopy full SHA for 785e53e
R/data.table.R
@@ -2050,7 +2050,7 @@ replace_dot_alias = function(e) {
2050
2051
# see #1010. don't set key when i has no key, but irows is ordered and isFALSE(roll)
2052
# NB: roll could still be a string like 'nearest', #7146
2053
- if (!isFALSE(roll) && length(irows) != 1L)
+ if (!is.character(roll) && roll && length(irows) != 1L)
2054
return(NULL)
2055
2056
new_key <- head(x_key, key_length)
0 commit comments