Open gdemin opened 5 years ago
Style creation.
Error: "Unknown border argument"
System with Turkish locale.
openxlsx::createStyle( borderStyle = "thin", borderColour = "black", border = "right" )
Error '"Unknown border argument"
As far as I understand it is because in the Turkish locale toupper("right") gives "RİGHT" instead of "RIGHT": https://github.com/awalker89/openxlsx/blob/master/R/wrappers.R#L772
toupper("right")
For reference: https://github.com/gdemin/expss/issues/23
Expected Behavior
Style creation.
Actual Behavior
Error: "Unknown border argument"
Steps to Reproduce the Problem
System with Turkish locale.
openxlsx::createStyle( borderStyle = "thin", borderColour = "black", border = "right" )
Error '"Unknown border argument"
As far as I understand it is because in the Turkish locale
toupper("right")
gives "RİGHT" instead of "RIGHT": https://github.com/awalker89/openxlsx/blob/master/R/wrappers.R#L772sessionInfo()
For reference: https://github.com/gdemin/expss/issues/23