Automatic Generation of Exams in R

Automatic generation of exams based on exercises in Markdown or LaTeX format, possibly including R code for dynamic generation of exercise elements. Exercise types include single-choice and multiple-choice questions, arithmetic problems, string questions, and combinations thereof (cloze). Output formats include standalone files (PDF, HTML, Docx, ODT, ...), Moodle XML, QTI 1.2, QTI 2.1, Blackboard, Canvas, OpenOlat, ILIAS, TestVision, Particify, ARSnova, Kahoot!, Grasple, and TCExam. In addition to fully customizable PDF exams, a standardized PDF format (NOPS) is provided that can be printed, scanned, and automatically evaluated.



R/exams logo

A One-for-All Exams Generator

Overview

The open-source R package 'exams' provides a one-for-all approach to automatic exams generation. Based on exercise templates large numbers of personalized exams/quizzes/tests can be created for various systems: PDFs for classical written exams (with automatic evaluation), imports for learning management systems (like Moodle, Canvas, OpenOlat, or Blackboard), live voting (via ARSnova or Particify), and custom output in PDF, HTML, Docx, etc.

Installation

The stable version of the R package exams is available from CRAN. It can be installed from within R along with all of its dependencies via:

install.packages("exams", dependencies = TRUE)

In case, you need features or bug fixes from the latest development version, this can be installed from R-universe:

install.packages("exams", repos = "https://zeileis.R-universe.dev")

In addition to the R packages some further tools (like Pandoc or Ghostscript) may be needed, depending on the tasks that R/exams should carry out. See the installation tutorial, linked below, for more details.

Get started

Follow the tutorials on:

Subsequently, start creating:

See also the available video tutorials on YouTube.

License

The package is available under the General Public License version 3 or version 2

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("exams")

2.4-5 by Achim Zeileis, 8 days ago


https://www.R-exams.org/


Report a bug at https://codeberg.org/zeileis/exams/issues


Browse source code at https://github.com/cran/exams


Authors: Achim Zeileis [aut, cre] (ORCID: , Bettina Gruen [aut] , Friedrich Leisch [aut] , Nikolaus Umlauf [aut] , Niels Smits [aut] , Dominik Ernst [ctb] , Patrik Keller [ctb] , Reto Stauffer [ctb] , Kenji Sato [ctb] , Florian Wickelmaier [ctb] , Sebastian Bachler [ctb]


Documentation:   PDF Manual  


GPL-2 | GPL-3 license


Imports graphics, grDevices, stats, tools, utils, base64enc, knitr, rmarkdown

Suggests clipr, magick, openxlsx, parallel, png, qpdf, RCurl, RJSONIO, tinytex, tth, xml2

System requirements: pandoc (>= 2.0)


Imported by BiMaUmisc, exams.forge.data, exams.mylearn, exams2ilias, rqti.

Depended on by exams2forms, exams2learnr, exams2sakai, pafdR.

Suggested by Ryacas, exams.forge.


See at CRAN