Skip to contents

Saves a wbWorkbook object to a specified file path, creating directories if necessary and appending .xlsx if missing.

Usage

write_wb(wb, file)

Arguments

wb

A wbWorkbook object.

file

File path to save the workbook.

Value

Invisibly returns the path to the saved file.

Examples

if (FALSE) { # \dontrun{
write_wb(wb, "output.xlsx")
} # }