un_zip: Unzip a zipped archive.

View source: R/compressed.R

un_zipR Documentation

Unzip a zipped archive.

Description

Unzipping a file can be a bit tricky if the file was zipped on a Mac OSX which may include MACOSX/ and DS_STORE stuff we don't usually want. This function tries to clean up the output.

Usage

un_zip(filename, extra = "-x *MACOSX*/* *DS_Store*")

Arguments

filename

the fully qualified name of the file to unzip

extra

extra arguments for the system's unzip command

Value

a character vector of the uncompressed filenames including relative paths

See Also

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


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