Skip to contents

This function checks if a file with a given name exists in a specified zip file.

Usage

check_exists_in_zip(zip_path, file_name)

Arguments

zip_path

A character string representing the path of the zip file.

file_name

A character string representing the name of the file to check.

Value

A logical value indicating whether the file exists in the zip file (TRUE) or not (FALSE).

Examples

if (FALSE) { # \dontrun{
check_exists_in_zip(zip_path = "/path/to/your.zip", file_name = "file/in/zip.csv")
} # }