Skip to contents

Exam lock and grade server

Usage

lock_server(
  id,
  num_blanks = TRUE,
  show_correct = FALSE,
  graded = NULL,
  graded_pts = NULL,
  ex = NULL,
  ex_pts = NULL,
  manual = NULL,
  manual_pts = NULL,
  exclude = NULL,
  tz = Sys.timezone()
)

Arguments

id

ID matching ui with server

num_blanks

TRUE/FALSE: Set the number of points for a question equal to the number of blanks. Default TRUE.

show_correct

TRUE/FALSE: Whether or not to show points for each question in grade output. Default TRUE.

graded

Either NULL or a vector containing the names of each question with custom points.

graded_pts

Either NULL or a vector containing the number of points corresponding to each question in graded.

ex

Either NULL or a vector containing the names of exercises with custom points.

ex_pts

Either NULL or a vector containing the number of points corresponding to each exercise in ex.

manual

Either NULL or a vector containing the names of each question to be manually graded.

manual_pts

Either NULL or a vector containing the number of points corresponding to each question/exercise in manual.

exclude

Either NULL or a vector containing the names of each question/exercise to exclude from grading.

tz

Time zone to display start time on report.