R/helpers.R
testCompressed.Rd
(internal function not for user interaction)
testCompressed(x)
[character(1)] the file name.
character(1)
This function looks at the file-extension and if it is one of .gz, .bz2, .tar .zip, .tgz, .gzip or .7z, it returns the value TRUE.
.gz
.bz2
.tar
.zip
.tgz
.gzip
.7z
TRUE