Skip to content

Commit 0bb0799

Browse files
implicit returns
1 parent 985ef22 commit 0bb0799

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/mergelist.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ hasindex = function(x, by, retGrp=FALSE) {
4141
idx = attr(index, idx_name, TRUE)
4242
if (is.null(idx)) return(FALSE)
4343
if (!retGrp) return(TRUE)
44-
return(!is.null(attr(idx, "starts", TRUE)))
44+
!is.null(attr(idx, "starts", TRUE))
4545
}
4646

4747
# fdistinct applies mult='first|last'
@@ -140,7 +140,7 @@ dtmerge = function(x, i, on, how, mult, join.many, void=FALSE, verbose) {
140140
if (len.i != len.x)
141141
internal_error("dtmerge out len.i != len.x") # nocov
142142

143-
return(list(ans=ans, irows=irows, xrows=xrows))
143+
list(ans=ans, irows=irows, xrows=xrows)
144144
}
145145

146146
# Previously, we had a custom C implementation here, which is ~2x faster,

0 commit comments

Comments
 (0)