From da2f2a6e1b54fb14023f9d29dfe5033a5ba03db6 Mon Sep 17 00:00:00 2001 From: Mitchell O'Hara-Wild Date: Fri, 17 Jan 2025 00:02:28 +1100 Subject: [PATCH] Cloze example fix --- R/cloze.R | 4 ++-- man/cloze_questions.Rd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/cloze.R b/R/cloze.R index 4da01bd..fa68ce2 100644 --- a/R/cloze.R +++ b/R/cloze.R @@ -46,13 +46,13 @@ #' "South Australia", "Tasmania", "Australian Capital Territory", #' "Northern Territory"), #' "Victoria" -#' ) +#' ), #' type = "dropdown" #' ) #' #' # Numerical question: Pick a number between 1 and 10 #' cloze_numerical( -#' correct = 5.5, +#' answer = 5.5, #' tolerance = 4.5 #' ) #' diff --git a/man/cloze_questions.Rd b/man/cloze_questions.Rd index df6ff10..17c89a1 100644 --- a/man/cloze_questions.Rd +++ b/man/cloze_questions.Rd @@ -94,13 +94,13 @@ cloze_singlechoice( "South Australia", "Tasmania", "Australian Capital Territory", "Northern Territory"), "Victoria" - ) + ), type = "dropdown" ) # Numerical question: Pick a number between 1 and 10 cloze_numerical( - correct = 5.5, + answer = 5.5, tolerance = 4.5 )