tests/testthat/_snaps/errors.md

non-existant file

Code
  withr::with_dir(dirname(tmp), zipr(zipfile, basename(tmp)))
Condition
  Error in `zip_internal()`:
  ! Some files do not exist

non readable file

Code
  withr::with_dir(dirname(tmp), zipr(zipfile, basename(tmp)))
Condition
  Error in `zip_internal()`:
  ! zip error: Cannot add file `<random>` to archive `<tempdir>/<tempfile>.zip` in file zip.c:<line>


Try the zip package in your browser

Any scripts or data that you put into this service are public.

zip documentation built on June 8, 2025, 11:20 a.m.