Learn R Programming

shinybatch (version 0.3)

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

Description

Compute the order of priority to run a list of configurations

Usage

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.

Value

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

Details

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