make_test: Make psychTestR test

View source: R/make-test.R

make_testR Documentation

Make psychTestR test

Description

The top-level function that defines a psychTestR test. This should be the final line of your app script, typically entitled app.R.

Usage

make_test(elts, opt = demo_options(), custom_admin_panel = NULL)

Arguments

elts

List of test elements defining the test's timeline.

opt

Options list as created by test_options().

custom_admin_panel

This argument supports the construction of a custom admin panel. The argument should be a function that runs during the Shiny server function. The argument list of this function should include ...; it may also include state, input, output, and session, all with their traditional meanings from Shiny or psychTestR. This function should include an expression of the form output$custom_admin_panel <- shiny::renderUI(...) where the code inside renderUI() defines the UI of the admin panel using standard Shiny UI vocabulary. Further documentation for this option should be forthcoming.


pmcharrison/psychTestR documentation built on Nov. 10, 2024, 9:03 p.m.