View source: R/rstudio-test-pipe.R
test_pipe | R Documentation |
Check whether a student used the pipe sufficiently. By default, the function only checks if the pipe was used at least once. The user can also select the minimal number of occurrences of the pipe.
test_pipe(num = 1, absent_msg = NULL, insuf_msg = NULL)
num |
minimal number of times the pipe operator has to appear (default = 1) |
absent_msg |
feedback message in case the student did not use a single pipe. |
insuf_msg |
feeback message in case the student did not use the pipe operator sufficiently. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.