This function creates an Excel file with each dataframe in a list as a separate sheet.
Value
No return value. The function prints a message indicating the completion of the Excel file writing.
Examples
# \donttest{
tox_dat <- extr_comptox("50-00-0")
#> ℹ Checking Internet Connection...
#> ℹ Internet connection OK...
#> ℹ Sending request to CompTox...
#> ℹ Request succeeded with status code: 202
#> ℹ Getting info from CompTox...
#> ℹ Request succeeded with status code: 200
temp_file <- tempfile(fileext = ".xlsx")
write_dataframes_to_excel(tox_dat, filename = temp_file)
#> ℹ Excel file written in /var/folders/bp/fpwcfq1563l21rz5gdcsfcsw0000gn/T//Rtmpunbf6d/file509f63c0bbc8.xlsx...
# }