holds.true | R Documentation |
Checks whether a certain condition on the stud's generated variables hold true
holds.true(
cond,
short.message = failure.message,
failure.message = "Failure in holds.true",
success.message = "Great, the condition {{cond}} holds true in your solution!",
part = NULL,
ps = get.ps(),
stud.env = ps$stud.env,
cond.str = NULL,
...
)
cond |
The condition to be checked |
failure.message |
The failure message to be shown if the text fails. |
success.message |
The success message |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.