Skip to content

Commit adac865

Browse files
committed
minor update
1 parent fb530cb commit adac865

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/transpose.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SEXP transpose(SEXP l, SEXP fill, SEXP ignoreArg, SEXP keepNamesArg, SEXP listCo
99
error(_("l must be a list."));
1010
if (!length(l))
1111
return(copyAsPlain(l));
12-
if (!isLogical(ignoreArg) || LOGICAL(ignoreArg)[0] == NA_LOGICAL)
12+
if (!isLogical(ignoreArg) || LOGICAL_RO(ignoreArg)[0] == NA_LOGICAL)
1313
error(_("ignore.empty should be logical TRUE/FALSE."));
1414
const bool ignore = LOGICAL_RO(ignoreArg)[0];
1515
if (!(isNull(keepNamesArg) || (isString(keepNamesArg) && LENGTH(keepNamesArg) == 1)))

0 commit comments

Comments
 (0)