testwhat
testwhat copied to clipboard
Add an index argument to check_if()
Currently, if an exercise requires a student to define a function with 2 if
blocks, you can't distinguish them.
See Writing Functions in R, Ch5, Ex13 as an example of this.