Closed JulienBlasco closed 5 months ago
add_table throws an error when used with default tablefootnotes arguments.
add_table
Reproducible example
wb <- openxlsx::createWorkbook() add_table(mtcars, wb, "Feu 1", "mtcars") # Erreur : TableFootnote1 must be a character vector of length 1L
This is due to the fact that default arguments for footnotes are lists while add_table expects a character vector, see below
https://github.com/ddotta/tablexlsx/blob/77b47a74962f4625d2fe7ad0b094bb55248b241f/R/add_table.R#L21-L32
add_table
throws an error when used with default tablefootnotes arguments.Reproducible example
This is due to the fact that default arguments for footnotes are lists while
add_table
expects a character vector, see belowhttps://github.com/ddotta/tablexlsx/blob/77b47a74962f4625d2fe7ad0b094bb55248b241f/R/add_table.R#L21-L32