decompress_file: Decompress a file

View source: R/compression.R

decompress_fileR Documentation

Decompress a file

Description

The internal method decompress_file decompresses a file and returns the path to the result.

Usage

decompress_file(filename, outputdir, overwrite=FALSE, remove=TRUE)

Arguments

filename

character. Path to the file that should be decompressed.

outputdir

character. Path to the output directory.

overwrite

logical. If TRUE and the output file already exists then the file is silently overwritten, otherwise an exception is thrown.

remove

logical. If TRUE then the input file is removed afterwards, otherwise not.

Value

The path of the decompressed file.

See Also

compress_file


sdmpredictors documentation built on Aug. 23, 2023, 5:07 p.m.