ropensci / readODS

Read ODS (OpenDocument Spreadsheet) into R as data frame. Also support writing data frame into ODS file.
https://docs.ropensci.org/readODS/
Other
55 stars 22 forks source link

The error message from `list_ods_sheets` for non-existing file is not informative #169

Closed chainsawriot closed 1 year ago

chainsawriot commented 1 year ago

While filing this gesistsa/rio#358 I found:

temp_ods <- tempfile(fileext = ".ods")
readODS::list_ods_sheets(temp_ods)
#> Warning in normalizePath(zipfile):
#> path[1]="/tmp/RtmpDmr2g2/file1f53337d613f9d.ods": No such file or directory
#> Error in zip::zip_list(zip_path): Cannot open zip file `/tmp/RtmpDmr2g2/file1f53337d613f9d.ods`

Created on 2023-09-11 with reprex v2.0.2