Skip to content

Commit 181957e

Browse files
committed
add small body
1 parent 796828d commit 181957e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

R/wrappers.R

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ isReallyReal = function(x) .Call(CisReallyReal, x)
1717

1818
coerceAs = function(x, as, copy=TRUE) .Call(CcoerceAs, x, as, copy)
1919

20-
frev = function(x, copy=TRUE) if (isTRUE(copy)) .Call(Cfrev, x, copy) else invisible(.Call(Cfrev, x, copy))
20+
frev = function(x, copy=TRUE) {
21+
ans = .Call(Cfrev, x, copy)
22+
if (isTRUE(copy)) ans else invisible(ans)
23+
}

0 commit comments

Comments
 (0)