Save a workboook object to file while filling file name from assigned workbook title
Source:R/wb_ext.R
wb_save_ext.Rd
wb_save_ext()
is a helper function that fills in the file name when saving
based on the XSLX title. This function is not stable and may change in the
future.
Examples
library(openxlsx2)
withr::with_tempdir({
wb_workbook(
title = "Title used for output file"
) |>
wb_add_worksheet() |>
wb_save_ext()
fs::dir_ls()
})
#> Title used for output file.xlsx