Closed JulienBlasco closed 6 months ago
The following code produces an error:
toxlsx(list(mtcars, iris), path=tempdir(), mergecol = list("cyl", "Species")) # Erreur dans if (vector[i] != vector[i - 1]) { : # l'argument est de longueur nulle
This should write mtcars with "cyl" column merged, and iris with "Species" column merged.
mtcars
iris
I believe the code should be slighly reformatted in order to operate the merging of columns inside add_table
add_table
The following code produces an error:
Desired result
This should write
mtcars
with "cyl" column merged, andiris
with "Species" column merged.