We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb530cb commit adac865Copy full SHA for adac865
src/transpose.c
@@ -9,7 +9,7 @@ SEXP transpose(SEXP l, SEXP fill, SEXP ignoreArg, SEXP keepNamesArg, SEXP listCo
9
error(_("l must be a list."));
10
if (!length(l))
11
return(copyAsPlain(l));
12
- if (!isLogical(ignoreArg) || LOGICAL(ignoreArg)[0] == NA_LOGICAL)
+ if (!isLogical(ignoreArg) || LOGICAL_RO(ignoreArg)[0] == NA_LOGICAL)
13
error(_("ignore.empty should be logical TRUE/FALSE."));
14
const bool ignore = LOGICAL_RO(ignoreArg)[0];
15
if (!(isNull(keepNamesArg) || (isString(keepNamesArg) && LENGTH(keepNamesArg) == 1)))
0 commit comments