Skip to content

Commit

Permalink
Note relevant data.table PR
Browse files Browse the repository at this point in the history
  • Loading branch information
markfairbanks committed Jul 26, 2021
1 parent 630a94e commit 1392c9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/step-subset-slice.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ slice.dtplyr_step <- function(.data, ...) {
} else {
.rows <- call2("c", !!!dots)
}
# Update logic once data.table #4353 is merged
# https://github.com/Rdatatable/data.table/pull/4353
between <- call2("between", .rows, quote(-.N), quote(.N))
i <- call2("[", .rows, between)
}
Expand Down

0 comments on commit 1392c9d

Please sign in to comment.