rquiz: Interactive Quizzes as HTML Widgets

Creates interactive JavaScript-based quizzes as 'HTML' widgets. Offers three quiz types: a single question with instant feedback (singleQuestion()), a multi-question quiz with navigation, timer, and results (multiQuestions()), and fill-in-the-blank cloze exercises (fillBlanks()). All quizzes auto-detect single-choice and multiple-choice modes from the input data, support customizable styling, keyboard navigation, and multilingual UI (English, German, French, Spanish). Designed for use in 'R Markdown', 'Quarto', and 'Shiny' applications. The singleQuestion() quiz design was inspired by Ozzie Kirkby <https://codepen.io/ozzie/pen/pvrVLm>. The multiQuestions() quiz design was inspired by Abhilash Narayan <https://codepen.io/abhilashn/pen/BRepQz>.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: htmlwidgets (≥ 1.5.0), jsonlite (≥ 1.7.0)
Suggests: knitr, rmarkdown, shiny, testthat (≥ 3.0.0)
Published: 2026-04-16
DOI: 10.32614/CRAN.package.rquiz (may not be active yet)
Author: Saskia Otto ORCID iD [aut, cre]
Maintainer: Saskia Otto <saskia.a.otto at gmail.com>
BugReports: https://github.com/saskiaotto/rquiz/issues
License: MIT + file LICENSE
URL: https://github.com/saskiaotto/rquiz, https://saskiaotto.github.io/rquiz/
NeedsCompilation: no
Language: en-US
Materials: README, NEWS
CRAN checks: rquiz results

Documentation:

Reference manual: rquiz.html , rquiz.pdf
Vignettes: Creating Quizzes with rquiz (source, R code)

Downloads:

Package source: rquiz_1.0.0.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=rquiz to link to this page.