# NOT RUN {
question_checkbox(
"Select all the toppings that belong on a Margherita Pizza:",
answer("tomato", correct = TRUE),
answer("mozzarella", correct = TRUE),
answer("basil", correct = TRUE),
answer("extra virgin olive oil", correct = TRUE),
answer("pepperoni", message = "Great topping! ... just not on a Margherita Pizza"),
answer("onions"),
answer("bacon"),
answer("spinach"),
random_answer_order = TRUE,
allow_retry = TRUE,
try_again = "Be sure to select all four toppings!"
)
# }
Run the code above in your browser using DataLab