Copies results from a dated folder to a "latest" folder, providing easy access to the most recent analysis results.
create_latest_folder(results_folder_name, date)No return value. This function is called for its side effect of copying files from the dated folder to the latest folder.
This function copies all contents from output/results_folder_name/date
to output/results_folder_name/latest, overwriting existing files.
if (FALSE) { # \dontrun{
# Copy today's results to latest folder
create_latest_folder("covid_reports", "2024-01-15")
} # }