View source: R/reporter-excel.R
output_results_excel | R Documentation |
ListReporter
results in Excel formatOutput formatted ListReporter
results to an Excel workbook using
openxlsx. The workbook consists of a summary sheet
showing aggregated results for each context, and one sheet per context
showing details of each unsuccessful test.
output_results_excel(results, file)
results |
An object of class |
file |
Output file name |
The return value of openxlsx::saveWorkbook()
.
## Not run:
# Output the results from running all tests in a directory
x <- test_dir(".")
output_results_excel(x, "Test results.xlsx")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.