override | R Documentation |
Produces a new state with a custom solution code. Mostly useful inside
check_or
, if you want to test for different cases.
override_solution(state, code = NULL, ...) override_solution_code(state, code) override_solution_env(state, ...)
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.