write_answers {tutorial.helpers} | R Documentation |
Write tutorial answers to file
Description
Take a tutorial session, extract out all the submitted answers, and write out an html file with all of those answers.
Usage
write_answers(file, session, is_test = FALSE)
Arguments
file |
Location to render answers to. Output file type determined by file suffix. Only "html" is acceptable. |
session |
Session object from |
is_test |
|
Details
We only keep track of the questions/exercises that the student has completed. The other obvious approach is to keep all the questions/exercises and leave unanswered ones as NA. Not sure if that approach is better, or even possible.
Examples
if(interactive()){
write_answers("getting-started_answers.html", sess)
}
[Package tutorial.helpers version 0.3.0 Index]