Skip to content

Commit 3a718c0

Browse files
remove trail whit space
1 parent d237f57 commit 3a718c0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

R/fwrite.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ fwrite = function(x, file="", append=FALSE, quote="auto",
2727
buffMB = as.integer(buffMB)
2828
nThread = as.integer(nThread)
2929
compressLevel = as.integer(compressLevel)
30-
30+
3131
# write.csv default is 'double' so fwrite follows suit. write.table's default is 'escape'
3232
# validate arguments
3333
if (is.matrix(x)) { # coerce to data.table if input object is matrix
@@ -42,14 +42,14 @@ fwrite = function(x, file="", append=FALSE, quote="auto",
4242
}
4343
# Handle select argument using .shallow()
4444
if (!null(select)) {
45-
cols = colnamesInt(x, select)
45+
cols = colnamesInt(x, select)
4646
if (is.data.table(x)) {
4747
x = .shallow(x, cols)
4848
} else {
4949
x = x[select]
5050
}
5151
}
52-
52+
5353
stopifnot(
5454
is.list(x),
5555
identical(quote,"auto") || isTRUEorFALSE(quote),

0 commit comments

Comments
 (0)