clipr (>= 0.7.0), covr, crayon, knitr, pacman, rmarkdown,
spelling, testthat (>= 2.3.0)

Take the examples written in your documentation of functions
and use them to create shells (skeletons which must be manually
completed by the user) of test files to be tested with the 'testthat'
package. Sort of like python 'doctests' for R.
clipr (>= 0.7), covr, crayon, knitr, pacman, rmarkdown,
spelling, testthat (>= 2.1)

Automatic Generation of Simple (Statistical) Exams
Sweave-based automatic generation of exams with
multiple-choice questions and arithmetic problems.
R (>= 2.0.0), stats, graphics, tools, utils

Automatic Generation of Standardized Exams for Large-Lecture Courses

Automatic Generation of Standardized Exams for Large-Lecture
Courses

c(person(given = "Achim", family = "Zeileis", role =
c("aut", "cre"), email = "Achim.Zeileis@R-project.org"),
person(given = "Bettina", family = "Gruen", role = "aut", email
= "Bettina.Gruen@jku.at"), person(given = "Friedrich", family =
"Leisch", role = "aut", email =
"Friedrich.Leisch@R-project.org"), person(given = "Nikolaus",
family = "Umlauf", role = "aut", email =
"Nikolaus.Umlauf@uibk.ac.at"))
Sweave-based automatic generation of exams including
multiple-choice questions and arithmetic problems. Exams can be
produced in various formats, including PDF, HTML, Moodle XML,
QTI 1.2 (for OLAT).
R (>= 2.14.0), stats, graphics, tools, utils
Achim Zeileis [aut, cre], Bettina Gruen [aut], Friedrich Leisch
[aut], Nikolaus Umlauf [aut]

c(person(given = "Achim", family = "Zeileis", role = c("aut", "cre"), email = "Achim.Zeileis@R-project.org"),
person(given = "Bettina", family = "Gruen", role = "aut", email = "Bettina.Gruen@jku.at"),
person(given = "Friedrich", family = "Leisch", role = "aut", email = "Friedrich.Leisch@R-project.org"),
person(given = "Nikolaus", family = "Umlauf", role = "aut", email = "Nikolaus.Umlauf@uibk.ac.at"))
Sweave-based automatic generation of exams including multiple-choice
questions and arithmetic problems. Exams can be produced in various formats, including
PDF, HTML, Moodle XML, QTI 1.2 (for OLAT/OpenOLAT), QTI 2.1.
Achim Zeileis [aut, cre],
Bettina Gruen [aut],
Friedrich Leisch [aut],
Nikolaus Umlauf [aut]