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
It seem that when trying to read an xlsx file with the openxlsx package doesn't work. botor::s3_read("s3://mybucket/example_file.xlsx", fun=openxlsx::read.xlsx) results in Error: openxlsx can only read .xlsx files
I can confirm that reading the file locally (openxlsx::read.xlsx("example_file.xlsx")) works fine. And readxl's read_xlsx also works with botor. I would probably prefer readxl over openxlsx anyway, but it would be useful to understand why these aren't working nicely together.
The text was updated successfully, but these errors were encountered:
It sounds like it's not actual bug in botor, so I'm going to close this issue now, especially it works with readxl and the ticket was more about requesting info on the behaviour .. but let me know if you run into a scenario when we need to update how tempfile is called to support custom file extensions.
It seem that when trying to read an xlsx file with the
openxlsx
package doesn't work.botor::s3_read("s3://mybucket/example_file.xlsx", fun=openxlsx::read.xlsx)
results inError: openxlsx can only read .xlsx files
I can confirm that reading the file locally (
openxlsx::read.xlsx("example_file.xlsx")
) works fine. Andreadxl
'sread_xlsx
also works with botor. I would probably preferreadxl
overopenxlsx
anyway, but it would be useful to understand why these aren't working nicely together.The text was updated successfully, but these errors were encountered: