We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05b0b96 commit a88b28aCopy full SHA for a88b28a
R/write-excel.R
@@ -27,7 +27,7 @@ write_temp_excel <- function(dat, name, font = "Arial") {
27
dat <- dplyr::rename(dat, dplyr::all_of(label_column(dat)))
28
wb$add_data(x = dat, na.strings = "")
29
wb$set_base_font(font_name = "Arial")
30
- wb$add_cell_style(dims = wb_dims(x = df, select = "col_names"), wrap_text = TRUE)
+ wb$add_cell_style(dims = openxlsx2::wb_dims(x = dat, select = "col_names"), wrap_text = TRUE)
31
wb$set_col_widths(widths = "auto", cols = seq_along(names(dat)))
32
33
# wb$add_cell_style(
0 commit comments