A function to check the size of a data variable whether is in the right range.
check_work_spaces(pre_processed_data, max_ram = 2, target_unit = "Gb")Data that processed by the function
pre_process.
A value of the maximum size of the list of CrossingWorkSpace instance.
The target unit, i.e., 'Gb', 'Tb' and 'Pb'. The default value is 'Gb'.
A NULL value if there is no issue raised.