writeit
writeit defines the files that pass from an analysis to its paper. The analysis writes a results file with a manifest, and a check reads them. Blocks turn the results into a file of numbers, and the text of the paper reads its numbers from that file.
What it holds
Results:
-
write_results(): write a results file with its manifest. -
check_results(): check a results object against the contract. -
writeit_messages(): give the texts that name a function in a message.
Blocks:
-
block(): declare a block of numbers for the paper. -
check_blocks(): check a list of blocks. -
make_blocks(): make the values of the blocks and write the blocks file. -
write_blocks(): write the blocks file. -
read_blocks(): read the blocks file. -
txt(): give one formatted number of a block. -
house_formatters(): give the house formatters.
writeit assumes no folder layout. A project or package passes its own names as arguments: paths, block class, parsed block call, fake attribute and message texts.
Installation
pak::pak("raubreywhite/writeit")