DRDataRaft/ docs
GitHub ↗

E06 Trial Product

E06The extension in your workspace1 step

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

E06 Trial Product

Goal: Start an explicit check from the UI.

Prerequisites: E03 and H06.

MANUAL: After the R preparation, Refresh, select ui_bad_product and run Trial Product. Despite the retained UI name, it uses dr_run(write=FALSE, stop_on_failure=FALSE).

training_step(
  "E06",
  {
    ui_bad_product <- dr_product(
      "policies.ui.bad",
      bad_policies,
      contract = policy_contract
    ) |>
      dr_add_quality(list(nonnegative = ~ premium >= 0))
    print(ui_bad_product)
  },
  needs = c("E03"),
  enabled = training_options$gui,
  optional = TRUE
)

Expected result: A blocked trial result in the tree.

Task: Was the configured destination published?

Show solution

No. It is a check without a DataRaft target write.

Search documentation

Search functions, packages and guides.