Skip to contents

Path to (Invalid) Example Zip File

Usage

invalid_zip(...)

Arguments

...

(segments of) relative path to the wanted zip file, starting from "extdata/testdata/invalid-zips" in the package installation folder

Examples

# list available files
(available <- invalid_zip())
#> [1] "five-rows.zip"          "missing-fields.zip"     "two-tables-missing.zip"
# Get full path to the first file
invalid_zip(available[1])
#> [1] "/Users/runner/work/_temp/Library/kwb.prep/testdata/invalid-zips/five-rows.zip"