Each time edc_data_warn is used, the warning is saved internally so that a summary can be retrieved using edc_data_warnings. This summary can then be saved into a .xlsx file using save_edc_data_warnings().
save_edc_data_warnings(
edc_warnings = edc_data_warnings(),
output_file = "edc_data_warnings_{project}_{date_extraction}.xlsx",
output_dir = "output/check",
open = FALSE,
overwrite = TRUE,
hide_resolved = TRUE,
include_stops = FALSE,
path = "deprecated"
)a logical(1), whether the file could be written, invisibly
the result of edc_data_warnings
path to a .xlsx file. Use special values {proj_name} and {date_extraction}.
If TRUE, overwrite any existing file.
If TRUE, overwrite any existing file.
If TRUE, hide sheets with no data.
If TRUE, also include STOP-type warnings.
deprecated