Find log files for a pipeline run
find_logs.RdDiscovers log files from batchtools registries, SLURM stdout/stderr, and sacct paths. Returns a tibble with log metadata.
Examples
# \donttest{
grid <- data.frame(x = 1:4, group = rep(c("A", "B"), 2))
fl <- flow(grid) |>
stage("calc", function(x) x^2, schema = returns(result = dbl())) |>
distribute(dist_local(by = "group"))
d <- submit(fl)
#> [parade] submit prune: scanning 2 groups for cached outputs
#> [parade] submit prune complete in 0.0s (0 pruned, 2 pending)
deferred_await(d, timeout = 60)
logs <- find_logs(d)
# }