Skip to content

Commit 9826966

Browse files
trailing ws
1 parent 822f955 commit 9826966

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/fread.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ yaml=FALSE, tmpdir=tempdir(), tz="UTC")
7171
}
7272
if (!is.null(cmd)) {
7373
tmpFile = tempfile(tmpdir=tmpdir)
74-
on.exit(unlink(tmpFile), add=TRUE)
74+
on.exit(unlink(tmpFile), add=TRUE)
7575
status = suppressWarnings((if (.Platform$OS.type == "unix") system else shell)(paste0('(', cmd, ') > ', tmpFile)))
7676
if (status != 0) {
7777
stopf("External command failed with exit code %d. This can happen when the disk is full in the temporary directory ('%s'). See ?fread for the tmpdir argument.", status, tmpdir)
@@ -121,7 +121,7 @@ yaml=FALSE, tmpdir=tempdir(), tz="UTC")
121121
stopf("To read %s files directly, fread() requires 'R.utils' package which cannot be found. Please install 'R.utils' using 'install.packages('R.utils')'.", if (w<=2L || gzsig) "gz" else "bz2") # nocov
122122
FUN = if (w<=2L || gzsig) gzfile else bzfile
123123
decompFile = tempfile(tmpdir=tmpdir)
124-
on.exit(unlink(decompFile), add=TRUE)
124+
on.exit(unlink(decompFile), add=TRUE)
125125
tryCatch({
126126
R.utils::decompressFile(file, decompFile, ext=NULL, FUN=FUN, remove=FALSE)
127127
}, error = function(e) {

0 commit comments

Comments
 (0)