After investigations, the error occurred because the files does not respect LAS specifications. Because I modified the source code of LASlib to make it working on R, LASlib is less compliant with files which does not respect strictly the LAS standard. This problem can be solved checking lasreader_las.cpp L1311.
This is a bug reported by a user via email
When reading some files:
After investigations, the error occurred because the files does not respect LAS specifications. Because I modified the source code of LASlib to make it working on R, LASlib is less compliant with files which does not respect strictly the LAS standard. This problem can be solved checking
lasreader_las.cpp
L1311.