Skip to contents

`getValueForTestTaker` can be used in a custom navigation function to load data for the current session.

Usage

getValueForTestTaker(session, name, default = NULL, store = T)

Arguments

session

The shiny session object.

name

Name of the value.

default

Default value.

store

Should the value be stored, if the default is used?

Value

The value (if present) for the current test-taker (or the default value)

Examples

if (FALSE) { # \dontrun{
  value <- getValueForTestTaker(session, "current-item")
} # }