Skip to content

Commit 046deea

Browse files
committed
enh: make submissions run every time, regardless of cache
1 parent df8f36e commit 046deea

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

scripts/covid_hosp_prod.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -484,6 +484,7 @@ ensemble_targets <- tar_map(
484484
cli_alert_info("Not making submission csv because we're in backtest mode or submission directory is cache")
485485
}
486486
},
487+
cue = tar_cue("always")
487488
),
488489
tar_target(
489490
name = make_climate_submission_csv,
@@ -507,6 +508,7 @@ ensemble_targets <- tar_map(
507508
)
508509
}
509510
},
511+
cue = tar_cue("always")
510512
),
511513
tar_target(
512514
name = validate_result,

scripts/flu_hosp_prod.R

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,8 @@ ensemble_targets <- tar_map(
379379
} else {
380380
cli_alert_info("Not making submission csv because we're in backtest mode or submission directory is cache")
381381
}
382-
}
382+
},
383+
cue = tar_cue("always")
383384
),
384385
tar_target(
385386
name = make_climate_submission_csv,
@@ -403,7 +404,8 @@ ensemble_targets <- tar_map(
403404
"Not making climate submission csv because we're in backtest mode or submission directory is cache"
404405
)
405406
}
406-
}
407+
},
408+
cue = tar_cue("always")
407409
),
408410
tar_target(
409411
name = validate_result,

0 commit comments

Comments
 (0)