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
At the moment we only accept characters in cases where logicals or numerics would feel more natural to users.
Using a wb_add_font() example:
library(openxlsx2)
wb<- wb_workbook() %>% wb_add_worksheet("S1") %>% wb_add_data("S1", mtcars)
# This works and is documentedwb<-wb %>% wb_add_font("S1", "A1:K1", name="Arial", bold="1", size="14")
# This should work toowb<-wb %>% wb_add_font("S1", "A2:K2", name="Arial", bold=TRUE, size=14)
#> Error in eval(expr, envir, enclos): Expecting a string vector: [type=NULL; required=STRSXP].
We have to identify cases where logicals and numerics can be used as substitutes and wrap the content if not character and not NULL.
The text was updated successfully, but these errors were encountered:
* use as_xml_attr() in wb_styles functions
* do not create empty xml arguments
* fix tests
* Revert "fix tests"
This reverts commit 45d5e63.
* add remove_empty_attr argument to xml_attr_mod() and restore behavior
* update NEWS
* add test
At the moment we only accept characters in cases where logicals or numerics would feel more natural to users.
Using a
wb_add_font()
example:We have to identify cases where logicals and numerics can be used as substitutes and wrap the content if not character and not NULL.
The text was updated successfully, but these errors were encountered: