Thanks you very much @JanMarvin for your reply and your insights (https://github.com/ycphs/openxlsx/pull/404). It made me curious why there is a nested <sheetPr> tag. Adjusted my pull request; now checking if there is any <sheetPr> or <sheetPr ...>. If not, it would be added.
Replaces pull request https://github.com/ycphs/openxlsx/pull/404
Thanks you very much @JanMarvin for your reply and your insights (https://github.com/ycphs/openxlsx/pull/404). It made me curious why there is a nested
<sheetPr>
tag. Adjusted my pull request; now checking if there is any<sheetPr>
or<sheetPr ...>
. If not, it would be added.Testing
I have tested the change following the minimal posted in issue https://github.com/ycphs/openxlsx/issues/403
Under all circumstances
openxlsx::read.xlsx
,readxl::read_excel
, Libreoffice, as well as Excel were able to read the sheets as expected.Thanks a lot!