Description Usage Arguments Value Examples
Takes a vector of .R files which includes solutions to homework and adds 7 trailing spaces to each even line in the file. This way, if the next semester you get homework which includes such a line, it is clear that the student copied these homework from a solution another student gave him from a previous year.
1 2 3 | copycats_trap(file, ...)
copycats_find(file, show_print = TRUE, ...)
|
file |
an .R file to update. |
... |
not used |
show_print |
logical (TRUE) if to print the rows with the suspected extra spaces. |
invisible TRUE. Also modifies the .R file that was in the input.
1 2 3 4 5 6 | ## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.