problemset: 'problemset' object

Description Usage Arguments Details Value

Description

problemset object

Usage

1
2
3
4
5
6
7
8
9
problemset(problems, pretext = "", posttext = "")

## S3 method for class 'problemset'
format(x, shuffle_problems = FALSE,
  shuffle_answers = FALSE, show_solutions = FALSE,
  tpl_problemset = examiner_opts$tpl_problemset,
  tpl_problemblock = examiner_opts$tpl_problemblock,
  tpl_problem = examiner_opts$tpl_problem,
  tpl_answerlist = examiner_opts$tpl_answerlist, .debug = FALSE, ...)

Arguments

problems

list of problems

pretext

character vector with text to go before the problems.

posttext

character vector with text to go after the problems.

x

The object.

shuffle_problems

Shuffle problems?

shuffle_answers

Shuffle answers?

show_solutions

Display the solutions to the answers?

tpl_problemset

Whisker template to use when rendering the object.

tpl_problem

Whisker template to use when rendering the object.

tpl_problemblock

Whisker template to use when rendering the object.

tpl_answerlist

The template to use to render the object.

.debug

Useful for debugging. Shows the data that is passed to the template.

...

Used by the template and passed to format.problem and format.problemblock.

Details

A "problemset" object is a "list" with elements

problems

The problems. A "list" of "problem" objects.

pretext

The text to go before the problems.

posttext

The text to go after the problems.

Value

A problemset object.


jrnold/examiner documentation built on May 20, 2019, 1 a.m.