Which package to be used for exporting data into excel with the specific sheet name ?

Thanks @Matthias
It works well, the way I want.

write_xlsx(list(constraint = result),"hfc_outputs.xlsx")