Open GregorDeCillia opened 5 years ago
The body of the new function can be as simple as these lines from the getting started vignette
altough I would suggest to support most or all parameters from xlsx::write.xlsx
to get consistency with this wiedly known function.
Updates after talking to @a-maldet
openxlsx::write.xlsx
when deciding about the parameter names of the new functionwrite_xlsx
for consistencywrite_excel
will be removed from the namespace altogether since there are too many "under the hood" things happening
It would be nice to get a new excel export function that can directly create
xlsx
files such asThe current function
write_excel
writes into a sheet object by reference, which is more flexible, but also harder to use.Namespace implications
We should consider renaming
write_excel
. My suggestion:If we don't want to introduce breaking changes, we could also use
The reason why I prefer the first option is, that this way
write_excel
is consistent withwrite_pdf
,write_png
and so on in the sense that a file is produced.