Skip to contents

Extract contents of an archive to a directory.

Usage

cbr_unzip(zip_file, dir = ".", keep_zip_file = TRUE)

Arguments

zip_file

a character string, corresponding the archive filename, or an archive object.

dir

a character string, corresponding the directory to extract archive contents. By default, the current directory is used. (see getwd()).

keep_zip_file

logical. If TRUE, deletes the zip archive.

Examples

if (FALSE) {
cbr_unzip(file.choose())
}