A question on package openxlsx in R :
I tried everything to change the default option for "headerStyle" with function openxlsx_setOp () but I couldn't.
In order to not define headerStyle in writeData() everytime.
For example :
openxlsx_getOp("headerStyle")
NULL
style <- createStyle(borderColour = "grey")
openxlsx_setOp("headerStyle", style)
openxlsx_getOp("headerStyle")
NULL
Thanks in advance.