run_order: Compute the order of priority to run a list of configurations

Description Usage Arguments Details Value

View source: R/run_order.R

Description

Compute the order of priority to run a list of configurations

Usage

1
2
3
4
5
run_order(
  confs,
  ignore_status = c("running", "finished", "error"),
  delay_reruns = TRUE
)

Arguments

confs

list. List of conf tables.

ignore_status

character (c("running", "finished", "error")). Status to be ignored when launching tasks.

delay_reruns

boolean (TRUE). When "running", "finished" or "error" are not in ignore_status, use the date of the last run instead of the date of creation of the task to compute the order of (re)run for these tasks. The priority still applies.

Details

The order is determined first by the priority and then by the date of creation of the task.

Value

the order of priority of the given confs according to their priority argument and date of creation.


shinybatch documentation built on June 30, 2021, 9:06 a.m.