DRDataRaft/ docs
GitHub ↗

H13 Save checked data

H13Persistence and relationships1 step

Use your current course session. Preparation and course runner · R script ↓

H13 Save checked data

Goal: Create the first persistent local output.

Prerequisites: H12.

dr_publish requires a target and writes after successful checks.

training_step(
  "H13",
  {
    rds_first <- dr_publish(rds_product)
    print(rds_first$outputs)
    stopifnot(dir.exists(rds_path))
  },
  needs = c("H12")
)

Expected result: Output metadata includes an RDS version.

Task: Where is the output?

Show solution

Under policies-rds in the printed training_root. Read that exact version next.

Search documentation

Search functions, packages and guides.