You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I understand that this package is an improvement of the openxlsx package, I've recently switched one of my codes from the old one to this one,
When attempting to read non-excel files, openxlsx::read.xlsx() gave this clear error:
Error: openxlsx can only read .xlsx or .xlsm files
On the contrary, with the same input, openxlsx2::read_xlsx() gives this rather misleading error:
Error in basename(sheets$Target) : object 'sheets' not found
In addition: Warning message:
In unzip(file, exdir = xmlDir) : error 1 in extracting from zip file
I think a clearer error message would be more suitable.
The text was updated successfully, but these errors were encountered:
Hi @john-ioannides , thanks for reaching out. I tried to fix this recently #887, but it looks like this was unsuccessful. Might have to check for the existence of specific files in the zipped file.
As I understand that this package is an improvement of the openxlsx package, I've recently switched one of my codes from the old one to this one,
When attempting to read non-excel files,
openxlsx::read.xlsx()
gave this clear error:On the contrary, with the same input,
openxlsx2::read_xlsx()
gives this rather misleading error:I think a clearer error message would be more suitable.
The text was updated successfully, but these errors were encountered: