Closed trossi closed 8 months ago
I can reproduce. I will add the tests to ensure that it is solved.
Thank you for noticing and fixing the bug! I added tests to ensure that this case is covered. The fix is now on the develop branch.
Great! Thank you for the quick response!
Hi! Thank you for creating this great package!
I noticed that the compact sequence constructor seems to have a bug. I'm testing with R 4.2.1, but the issue is likely present in general unless the file format has changed at some version.
Here is a minimal working example writing a RDS file in R and reading it back in R or Python with rdata:
The same issue seems to be in compact_realseq, but I couldn't find how to create such in R (expect modifying RDS file manually).
A workaround for int sequences:
I'll submit a PR with a similar fix.