Skip to contents

Creates a JSON representation of a directed acyclic graph (DAG) based on dependencies between derivations. Is automatically called by rixpress().

Usage

generate_dag(rxp_list, output_file = "_rixpress/dag.json")

Arguments

rxp_list

A list of derivations.

output_file

Path to the output JSON file. Defaults to "_rixpress/dag.json".

Value

Nothing, writes a JSON file representing the DAG.

See also

Other ci utilities: dag_for_ci(), rxp_ga()

Examples

if (FALSE) { # \dontrun{
  generate_dag(rxp_list)
} # }