From 2b233a4086c1598abdef1cd5a8817687789e555c Mon Sep 17 00:00:00 2001 From: Alex Axthelm Date: Fri, 23 Feb 2024 14:57:55 +0100 Subject: [PATCH] feat(app): #147 Use `output_files` in archive step Use the `output_files` list of filepaths for archive step. --- run_pacta_data_preparation.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_pacta_data_preparation.R b/run_pacta_data_preparation.R index 75f73d0..6ea8e07 100644 --- a/run_pacta_data_preparation.R +++ b/run_pacta_data_preparation.R @@ -962,7 +962,7 @@ if (export_archives) { logger::log_trace("Zip file path: \"{outputs_zip_file_path}\".") zip( zipfile = outputs_zip_file_path, - files = list.files(data_prep_outputs_path, full.names = TRUE, recursive = TRUE), + files = output_files, extras = c( "--junk-paths", # do not preserve paths "--no-dir-entries", # do not include directory entries