Matches tracked job IDs to scheduler output (.out) and error (.err) files
beneath the configured log directory. It returns file locations without
opening or changing the logs.
Arguments
- input
A project configuration object, YAML file, or project directory.
- run_id
Run ID returned by
run_project()or listed ininspect_project(input)$runs. Use"latest"for the most recently recorded run.- failed_only
If
TRUE, include only failed, cancelled, or downstream jobs that could not run because an earlier job failed.
See also
diagnose_project() for a run summary that includes these logs.
Examples
if (FALSE) { # \dontrun{
failed_logs <- find_run_logs(scfg, run$run_id, failed_only = TRUE)
failed_logs[, c("job_name", "status", "type", "path")]
} # }