ddotta / tablexlsx

R package to export data frames from R to xlsx workbook
https://ddotta.github.io/tablexlsx/
Other
16 stars 1 forks source link

Fix : when object is not the name of an existing data.frame #36

Closed JulienBlasco closed 3 months ago

JulienBlasco commented 3 months ago

toxlsx() no longer fails when the object argument is the result of a computation

Solves #18

JulienBlasco commented 3 months ago

Added a new commit 11d6156 that should fix #37

When object is a list, the output names are now defined according to three possible scenarios:

  1. object is a named list, then those names are used
  2. object is a call to the list() function, then the arguments of list() are used
  3. other cases: generic names ("Table 1", "Table 2"...) are used