testCompressed: Test whether a file is a compressed file

View source: R/helpers.R

testCompressedR Documentation

Test whether a file is a compressed file

Description

(internal function not for user interaction)

Usage

testCompressed(x)

Arguments

x

[character(1)]
the file name.

Details

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.


arealDB documentation built on July 9, 2023, 6:09 p.m.