Open wincowgerDEV opened 8 months ago
A bit more recon on this, the error line seems to be here in read_zip
:
lst <- lapply(file.path(tmp, flst$Name), read_any, ...)
When it sends back to read_any
we can find this line causing the issue os <- do.call(paste0("read_", tolower(ex)), list(file = file, ...))
Broke through the first error with https://github.com/wincowgerDEV/OpenSpecy-package/pull/161/commits/313395626442f0f2ed8e21085979e881d59e131d by updating how we extract the extension name.
The second error with read.spc is still there. I think it has something to do with file naming but not positive, I tested changing the file name but that didn't work. Will file issue with hyperSpec.
Guidelines
Project Version
No response
Platform and OS Version
No response
Existing Issues
No response
What happened?
We would expect this zip folder of spc files to read correctly but it returns an error.
10.37.zip
Steps to reproduce
Also if we try to read the files as spc by themselves with read_spc
Somehow the files can be read into OpenSpecy.org though, really a head scratcher.
Expected behavior
Read the spc files and/or zip
Attachments
No response
Screenshots or Videos
No response
Additional Information
No response