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
{{ message }}
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.
Compare the results of the following two chunks: xltabr:::combine_all_styles(tab) gives the same result for all the body cells, but the styling that's actually applied to the workbook is different
Fixed. Problem occurred as string columns returned from ####_get_cell_styles_table are factors. I Passing these factors into the cell_style_catalogue as a key accessors was messing things up - we didn't see this for test1 because we were only using one table from body_get_cell_style_table. In test2 we combine body_get_cell_style_table and title_get_cell_style_table in doing so I think the factors get messed up.
Anyway I've fixed the issue by full_table <- data.frame(lapply(full_table, as.character), stringsAsFactors=FALSE)
However, I think we need to change the outputs from ####_get_cell_style_tables to data.frames without factors as this may cause more issues further down the line.
Compare the results of the following two chunks:
xltabr:::combine_all_styles(tab)
gives the same result for all the body cells, but the styling that's actually applied to the workbook is differentThe text was updated successfully, but these errors were encountered: