override: Functions to override solution code (and parse data) and...

overrideR Documentation

Functions to override solution code (and parse data) and variables in the solution environment.

Description

Produces a new state with a custom solution code. Mostly useful inside check_or, if you want to test for different cases.

Usage

override_solution(state, code = NULL, ...)

override_solution_code(state, code)

override_solution_env(state, ...)

Arguments

state

the state to create a substate from

code

the solution code to put into the state

...

named environment variables to add to or override in the solution environment


datacamp/testwhat documentation built on June 26, 2022, 9:07 a.m.