write_excel: Write write x as an excel file to disk
Description
Convert the object x to an xml_document object using the function as_xml() and write it to a file.
If no method as_xml() exists for the object |classx, an error will be raised.
Usage
write_excel(x, file, ...)
Value
invisibly returns the path to the file saved to
Arguments
x
object which can be convertewd to a dmdSchemeSet_raw odject using the function as_dmdScheme_raw which will
saved as an xlsx file.
file
Path to file or connection to write to.
...
additional parameter for the conversion function (writexl::write_xlsx())