GSK-Biostatistics/tfrmt

incorporate values from `col_style_plan` in creation of mock data

Closed this issue · 2 comments

as print_mock_gt and print_to_gt utilize much of the same logic, they present the same messages/errors if any of the plans fail due to values not being available in the dataset. For mocks, we should be quieter about any of these failures, or avoid them altogether.
This may involve changing the make_mock_data functionality too

This is mostly due to col_style_plan referencing columns not available.
Need to modify make_mock_data to use values from col_style_plan similarly to col_plan.

This is not an issue for all mocks - only ones without supplied data. If data is supplied, and the col plan/col style plan contains references to values that are not present, an error is appropriate. So I've changed the scope of the issue.