Skip to content

Commit 23214d1

Browse files
is.null
1 parent 3a718c0 commit 23214d1

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
@@ -41,7 +41,7 @@ fwrite = function(x, file="", append=FALSE, quote="auto",
4141
}
4242
}
4343
# Handle select argument using .shallow()
44-
if (!null(select)) {
44+
if (!is.null(select)) {
4545
cols = colnamesInt(x, select)
4646
if (is.data.table(x)) {
4747
x = .shallow(x, cols)

0 commit comments

Comments
 (0)