This is a convenience wrapper for accessing the internal data.table, which normally
is reachable via p[["pipenv"]][["data"]].
Details
The internal data.table is holding the pipeline steps, one row per step.
Unless you know what you are doing, this table should not be modified directly, as
this can corrupt the pipeline including any views that are derived from it. If you
want to experiment, consider cloning the pipeline first with pip_clone().
Examples
p <- pip_new() |>
pip_add("load", \(n = 5) seq_len(n)) |>
pip_add("model", \(x = ~load) sum(x))
pip_data(p)
#> step fun params out state tags locked exec
#> <char> <list> <list> <list> <char> <list> <lgcl> <char>
#> 1: load <function[1]> <list[1]> [NULL] new FALSE auto
#> 2: model <function[1]> <list[1]> [NULL] new FALSE auto
#> time time_start duration depends unbound nodeId
#> <POSc> <POSc> <difftime> <list> <list> <int>
#> 1: 2026-11-15 19:18:47 <NA> NA secs n 0
#> 2: 2026-11-15 19:18:47 <NA> NA secs load 1
