Skip to content

Commit ee3e85f

Browse files
add conditional passing
1 parent 1fb7294 commit ee3e85f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/fwrite.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ fwrite = function(x, file="", append=FALSE, quote="auto",
131131
x
132132
})
133133
}
134-
.Call(CfwriteR, x, file, sep, sep2, eol, na, dec, quote, qmethod=="escape", append,
134+
.Call(CfwriteR, if (missing(select)) x else shallow_x, file, sep, sep2, eol, na, dec, quote, qmethod=="escape", append,
135135
row.names, col.names, logical01, scipen, dateTimeAs, buffMB, nThread,
136136
showProgress, is_gzip, compressLevel, bom, yaml, verbose, encoding)
137137
invisible()

0 commit comments

Comments
 (0)