olat_feedback: Generate OLAT test feedback files (answer/solution)

View source: R/olat_feedback.R

olat_feedbackR Documentation

Generate OLAT test feedback files (answer/solution)

Description

Similar to what olat_eval does but in a more detailed way. Creates html files for each participant with feedback about his/her test results (including questions and solutions). For OLAT tests use olat_feedback, for nops tests (written tests) use nops_feedback.

Usage

olat_feedback(res, xexam, name = "olat_feedback")

olat_feedback_render_one(res, xexam, i, htmlfile = "Result.html", show = FALSE)

Arguments

res

data.frame, result from olat_eval

xexam

list as returned from reading the rds file

name

character, name of the test, will be used to name the zip archive file and the html files

i

integer, row index (which row in 'x' to render)

htmlfile

character, name of the output file

show

logical, if set to TRUE the html file will be opened in a browser

Value

Returns the name of the zip file created.

Author(s)

Reto Stauffer


c403 documentation built on Oct. 20, 2023, 3:01 p.m.