tests/testthat/test-zip.R

context("Zip")

test_that("fails gracefully unzipping a missing file", {
  expect_error(zip_buffer("./examples.xlsx", "foo"), "Couldn't find 'foo' in './examples.xlsx'")
})

Try the tidyxl package in your browser

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

tidyxl documentation built on May 29, 2024, 2:34 a.m.