check.assign.with.multiple.sol | R Documentation |
Can be called in a #< test block for a custom test.
check.assign.with.multiple.sol(
sol1,
sol2,
sol3,
sol4,
sol5,
...,
sol.list = list()
)
sol1 |
An assignment that needs to be checked, e.g. x<-5. Similar for sol2, sol3, sol4, sol5. |
# Assume the task is that x shall be a number
# below 11 and divisible by 5
check.assign.with.multiple.sol(x<-5, x<-10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.