Skip to content

Commit 522df35

Browse files
no semicolons
1 parent cf10c5f commit 522df35

1 file changed

Lines changed: 10 additions & 4 deletions

File tree

R/sortuse64.R

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,9 @@ sortfin.integer64 = function(sorted, x, method=NULL, ...) {
125125
, ret=logical(n)
126126
)
127127
} else {
128-
sx = clone(as.integer64(x)); o = seq_along(x); ramsortorder(sx, o, na.last=FALSE, ...)
128+
sx = clone(as.integer64(x))
129+
o = seq_along(x)
130+
ramsortorder(sx, o, na.last=FALSE, ...)
129131
ret = logical(n)
130132
ret[o] = .Call(C_r_ram_integer64_sortfin_asc
131133
, x=sx
@@ -166,7 +168,8 @@ orderfin.integer64 = function(table, order, x, method=NULL, ...) {
166168
)
167169
} else {
168170
x = as.integer64(x)
169-
o = seq_along(x); ramorder(x, o, na.last=FALSE, ...)
171+
o = seq_along(x)
172+
ramorder(x, o, na.last=FALSE, ...)
170173
ret = logical(n)
171174
ret[o] = .Call(C_r_ram_integer64_orderfin_asc
172175
, x=x[o]
@@ -210,7 +213,8 @@ orderpos.integer64 = function(table, order, x, nomatch=NA, method=NULL, ...) {
210213
)
211214
} else {
212215
x = as.integer64(x)
213-
o = seq_along(x); ramorder(x, o, na.last=FALSE, ...)
216+
o = seq_along(x)
217+
ramorder(x, o, na.last=FALSE, ...)
214218
ret = integer(n)
215219
ret[o] = .Call(C_r_ram_integer64_orderpos_asc
216220
, x=x[o]
@@ -253,7 +257,9 @@ sortorderpos.integer64 = function(sorted, order, x, nomatch=NA, method=NULL, ...
253257
, ret=integer(n)
254258
)
255259
} else {
256-
sx = clone(as.integer64(x)); o = seq_along(x); ramsortorder(sx, o, na.last=FALSE, ...)
260+
sx = clone(as.integer64(x))
261+
o = seq_along(x)
262+
ramsortorder(sx, o, na.last=FALSE, ...)
257263
ret = integer(n)
258264
ret[o] = .Call(C_r_ram_integer64_sortorderpos_asc
259265
, x=sx

0 commit comments

Comments
 (0)