E06 Trial Product
Use your current course session. Preparation and course runner · R script ↓
E06 Trial Product
Goal: Start an explicit check from the UI.
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.