Repeatedly show a series of test elements to the participant while a condition is satisfied. The elements are shown at least once; at the end of each pass, the test function is checked.

loop_while(test, logic)

Arguments

test

Test function to execute. Argument list should include ...; further permitted arguments are: state, the participant's state object; input, the Shiny input object for the current page; output, the Shiny output object for the current page; session, the Shiny session object; opt, test options as created by test_options().

logic

List of psychTestR test elements.