H37 Trace lineage
Use your current course session. Preparation and course runner · R script ↓
H37 Trace lineage
Goal: Read recorded dependencies.
Prerequisites: H32.
The derived release has an explicit source. Lineage records origin; it does not automatically capture the complete meaning of arbitrary R code.
training_step(
"H37",
{
clean_lineage <- dr_lineage(training_lake, asset = "policies.clean")
print(clean_lineage)
},
needs = c("H32"),
enabled = training_options$lake,
optional = TRUE
)Expected result: policies.raw appears in the recorded origin path.
Task: Is a file read outside the adapters automatically fully documented?
Show solution
Not necessarily. Sources must be modeled explicitly to be recorded.