test_compressed: Test if a given file is compressed by zip or tgz, gzip.

View source: R/compressed.R

test_compressedR Documentation

Test if a given file is compressed by zip or tgz, gzip.

Description

Test if a given file is compressed by zip or tgz, gzip.

Usage

test_compressed(filename)

Arguments

filename

the fully qualified name of the file to test

Value

a character vector of 'zip', 'gzip' or "tgz", "bzip2", "unknown"

See Also

Other COMPRESSED: is_bzip2, is_gzip, is_tgz, is_zip, pack_directory, un_bzip2, un_gz, un_tgz, un_zip, unpack_archive


BigelowLab/rscripting documentation built on Oct. 24, 2022, 5:31 p.m.