tests/testthat/test-shared-string-table.R

## #293, #333
## affects xls only
test_that("shared strings are retrieved when there's >256 unique strings", {
  df <- read_excel(test_sheet("more-than-256-unique-strings-xls.xls"))
  expect_identical(df$var[257], "x257")
})

Try the readxl package in your browser

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

readxl documentation built on July 9, 2023, 5:57 p.m.