You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it's just a minor issue, but it is annoying, because it generates constantly warning messages while building excel-files that contain dataValidation
reproducible example
using the example from the dataValidation help page:
wb <- createWorkbook()
addWorksheet(wb, "Sheet 1")
addWorksheet(wb, "Sheet 2")
writeDataTable(wb, sheet = 1, x = iris[1:30, ])
writeData(wb, sheet = 2, x = sample(iris$Sepal.Length, 10))
dataValidation(wb, 1, col = 1, rows = 2:31, type = "list", value = "'Sheet 2'!$A$1:$A$10")
step dataValidation generates warning message:
Warning message:
In sprintf("<x14:dataValidation type="list" allowBlank="%s" showInputMessage="%s" showErrorMessage="%s">", :
one argument not used by format '<x14:dataValidation type="list" allowBlank="%s" showInputMessage="%s" showErrorMessage="%s">'
solution
The origin of this issue is found in function wb$dataValidation_list()
in line:
Hi there,
it's just a minor issue, but it is annoying, because it generates constantly warning messages while building excel-files that contain dataValidation
reproducible example
using the example from the dataValidation help page:
step dataValidation generates warning message:
solution
The origin of this issue is found in function wb$dataValidation_list()
in line:
the "sqref" value is superfluous. The string in fmt-argument expects only 3 values.
sessionInfo()
The text was updated successfully, but these errors were encountered: