check_zip_extension: Stop if File Name Does not End with Zip Extension

View source: R/check_zip_extension.R

check_zip_extensionR Documentation

Stop if File Name Does not End with Zip Extension

Description

Stop if File Name Does not End with Zip Extension

Usage

check_zip_extension(file)

Arguments

file

path to file to check for .zip or .7z file name extension

Value

The function does not return anything but stops with a clear error message in case that file does not end with something that looks like the file extension of a compressed file.


KWB-R/kwb.prep documentation built on June 11, 2022, 1:29 p.m.