You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the output directory creation step occuers near the beginning of the process. importantly, prior to the pre-flight checks and data scraping, meaning that if any of those fail, the process will create an empty directory and then error out, leaving it empty.
Suggest moving output directory creation to later in the process, just prior to when we start writing files.
I could add on on.exit() hook to remove the directory if it doesn't contain any files (or on any condition), which should run even if there's an error.
Currently, the output directory creation step occuers near the beginning of the process. importantly, prior to the pre-flight checks and data scraping, meaning that if any of those fail, the process will create an empty directory and then error out, leaving it empty.
Suggest moving output directory creation to later in the process, just prior to when we start writing files.
workflow.data.preparation/run_pacta_data_preparation.R
Lines 84 to 90 in 819e1d1
workflow.data.preparation/run_pacta_data_preparation.R
Lines 198 to 224 in 819e1d1
AB#10858
The text was updated successfully, but these errors were encountered: