From 9a0e30baca3302850e47138ef0511e23df3874d2 Mon Sep 17 00:00:00 2001 From: Eric Scott Date: Wed, 22 May 2024 17:14:51 +0000 Subject: [PATCH] save crew logs --- .gitignore | 1 + _targets.R | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index fedb1dd..ac31f39 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /data/ _targets/ /tiles/ +/logs/ diff --git a/_targets.R b/_targets.R index cb648e0..9b10d89 100644 --- a/_targets.R +++ b/_targets.R @@ -76,7 +76,12 @@ controller_heavy <- crew.cluster::crew_controller_slurm( ) controller_local <- - crew::crew_controller_local(name = "local", workers = 4, seconds_idle = 60) + crew::crew_controller_local( + name = "local", + workers = 4, + seconds_idle = 60, + local_log_directory = "logs" + ) # Set target options: tar_option_set(