Open Jakobhenningjensen opened 6 years ago
@Jakobhenningjensen Can you provide an example file where we can test this issue? Thank you...
I can reproduce this error. It seems that it has something to do with the Header/Footer in the page setup. Steps to reproduce:
Expected Behavior
I have an excelfile where there is a textbox and comments
wb<-loadWorkbook("test.xlsx")
Actual Behavior
wb<-loadWorkbook("test.xlsx")
Error in grepl(target, commentsXML) : invalid 'pattern' argument
Comment: Changing line 545 in loadWorbook
hasComment <-sapply(commentXMLrelationship, length)
makes it work, but then saveWorkbook corrupts the excelfileSteps to Reproduce the Problem
(please attach an example xlsx file if possible)
1.
2.
3.
sessionInfo()