Skip to content

Commit 5ab517c

Browse files
committed
delete temporary files
1 parent b84b6ef commit 5ab517c

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

man/seqGDS2VCF.Rd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,8 @@ seqGDS2VCF(f, "tmp.vcf.gz")
110110

111111

112112
# delete temporary files
113-
unlink(c("tmp.vcf.gz", "tmp1.vcf.gz", "tmp2.vcf.gz"))
113+
unlink(c("tmp.vcf.gz", "tmp.vcf.gz.tbi", "tmp1.vcf.gz", "tmp1.vcf.gz.tbi",
114+
"tmp2.vcf.gz", "tmp2.vcf.gz.tbi"), force=TRUE)
114115

115116
# close the GDS file
116117
seqClose(f)

vignettes/SeqArrayTutorial.Rmd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,8 @@ $ diff <(gunzip -c old.vcf.gz) <(gunzip -c tmp.vcf.gz)
260260

261261
```{r}
262262
# delete temporary files
263-
unlink(c("tmp.vcf.gz", "tmp1.vcf.gz", "tmp2.vcf.gz"))
263+
unlink(c("tmp.vcf.gz", "tmp.vcf.gz.tbi", "tmp1.vcf.gz", "tmp1.vcf.gz.tbi",
264+
"tmp2.vcf.gz", "tmp2.vcf.gz.tbi"), force=TRUE)
264265
```
265266

266267

0 commit comments

Comments
 (0)