Usage
exams2arsnova(file, n = 1L, dir = ".",
name = "R/exams", sname = NULL, qname = NULL,
quiet = TRUE, resolution = 100, width = 4, height = 4, svg = FALSE, encoding = "",
url = "https://arsnova.eu/api", sessionkey = NULL, jsessionid = NULL,
active = TRUE, votingdisabled = FALSE, showstatistic = FALSE, showanswer = FALSE,
abstention = TRUE, variant = "lecture", ssl.verifypeer = TRUE,
fix_choice = FALSE, …)make_exams_write_arsnova(url = "https://arsnova.eu/api", sessionkey = NULL,
jsessionid = NULL, name = "R/exams", sname = NULL, qname = NULL,
active = TRUE, votingdisabled = FALSE, showstatistic = FALSE, showanswer = FALSE,
abstention = TRUE, variant = "lecture", ssl.verifypeer = TRUE, fix_choice = FALSE)
Arguments
file
character. A specification of a (list of) exercise files.
n
integer. The number of copies to be compiled from file
.
dir
character. The default is either display on the screen or
the current working directory.
name
character. A name prefix for resulting exercises and RDS file.
sname
character. A vector of length 2 with the session name (maximum of 50
characters) and its abbreviation (maximum of 8 characters). Ignored if the sessionkey
of an existing session is supplied and otherwise copied by default from name
.
qname
character. A vector of names for each question/exercise in file
.
By default, the name
is used.
quiet
logical. Should output be suppressed when calling
xweave
and texi2dvi
. resolution, width, height
svg
logical. Should graphics be rendered in SVG or PNG (default)?
url,sessionkey,jsessionid
character specifying (1) the base URL of the ARSnova API,
(2) the 8-digit ARSnova session key, (3) the JSESSIONID cookie of an active ARSnova session.
If all are provided all questions are imported directly into the existing ARSnova session.
Otherwise, a JSON import file is generated.
active
logical. Should the question be active (i.e., released for students)
or locked?
votingdisabled
logical. Should voting be disabled?
showstatistic
logical. Should statistics be shown?
showanswer
logical. Should answers be shown?
abstention
logical. Are abstentions allowed?
variant
character. Should the question be a "lecture"
or
a "preparation"
questions?
ssl.verifypeer
logical. Should SSL certificates be validated when
connecting via https?
fix_choice
logical. Should math markup be removed in single and multiple
choice lists? (This is may be needed for older ARSnova versions where math
markup is rendered in the question itself but not the choice list.)
…
arguments passed on to xexams
.