Pre-initialise output columns for all work items
Source:R/collect_tern_data.R
dot-initialize_output_columns.RdAdds one NA-filled column per work item to the output data.table,
using the correct storage type (NA_character_ or NA_real_) for each.
The table is modified in place.
Arguments
- out
The output
data.table(modified in place).- work_items
A list of work items from
.build_work_items().