Skip to content

Commit 0a44908

Browse files
committed
suppress unneccassary warning while deleting temporary files.
1 parent 98f6e96 commit 0a44908

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/callHaplotypeDADA2.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ createFinalHaplotypTableDADA2 <- function(outputDir, sampleTable, markerTable, r
127127
})
128128
names(resultsLst) <- selMarker
129129

130-
file.remove(newFile) # list.files(filtDir,"fastq.gz"))
131-
file.remove(filtDir)
130+
suppressWarnings(file.remove(newFile)) # list.files(filtDir,"fastq.gz"))
131+
suppressWarnings(file.remove(filtDir))
132132
haplotyopList <- writeHaplotypList(resultsLst)
133133

134134
## check replicates

0 commit comments

Comments
 (0)