rxp_trace: Trace Lineage of Derivations

View source: R/rxp_trace.R

rxp_traceR Documentation

Trace Lineage of Derivations

Description

Trace Lineage of Derivations

Usage

rxp_trace(
  name = NULL,
  dag_file = file.path("_rixpress", "dag.json"),
  transitive = TRUE,
  include_self = FALSE
)

Arguments

name

Character, defaults to NULL. Name of the derivation to inspect. If NULL, the function prints the whole pipeline (inverted global view).

dag_file

Character, defaults to "_rixpress/dag.json". Path to dag.json.

transitive

Logical, defaults to TRUE. If TRUE, show transitive closure and mark transitive-only nodes with "*". If FALSE, show immediate neighbours only.

include_self

Logical, defaults to FALSE. If TRUE, include name itself in the results.

Value

Invisibly, a named list mapping each inspected derivation name to a list with elements: - dependencies - reverse_dependencies The function also prints a tree representation to the console.

See Also

Other utilities: print.rxp_derivation(), rxp_check_chronicles(), rxp_copy(), rxp_gc(), rxp_init(), rxp_inspect(), rxp_list_logs(), rxp_load(), rxp_read()


rixpress documentation built on Feb. 19, 2026, 9:06 a.m.