Skip to contents

The specs are written each with its sheets, as their own writers would, into one workbook: one study sheet with every key the specs read, then the ARD sheets, the table sheets, the report sheets and the listing sheets, and about. Each reader (tfl_read_ard_spec(), tfl_read_table_spec(), tfl_read_report_spec(), tfl_read_listing_spec()) takes its own sheets back from it. Writing each spec to its own workbook (the default of every writer) is easier to read; one workbook is for handing a study's specs over as one file.

Usage

tfl_write_specs(path, ard = NULL, table = NULL, report = NULL, listing = NULL)

Arguments

path

Destination .xlsx.

ard

An ARD spec (tfl_ard_spec()), or NULL.

table

A table spec (tfl_table_spec()): its table sheets, or NULL.

report

A report spec (a tfl_table_spec(), as tfl_read_report_spec() reads it): its report sheets, or NULL. The same object as table may be given for both.

listing

A listing spec (tfl_listing_spec()), or NULL.

Value

path, invisibly.