etude_question: Custom version of 'learnr::question()' for compact exercises.

Description Usage

View source: R/question_compact.R

Description

Custom version of learnr::question() for compact exercises.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
etude_question(
  text,
  ...,
  type = c("auto", "single", "multiple", "learnr_radio", "learnr_checkbox",
    "learnr_text", "learnr_radio_inline", "learnr_checkbox_inline"),
  correct = "Correct!",
  incorrect = "Incorrect",
  try_again = incorrect,
  message = NULL,
  post_message = NULL,
  loading = c("**Loading:** ", text, "<br/><br/><br/>"),
  submit_button = "Submit Answer",
  try_again_button = "Try Again",
  allow_retry = FALSE,
  random_answer_order = FALSE,
  options = list()
)

dtkaplan/etude documentation built on Oct. 19, 2020, 7:56 p.m.