Exam Output Format
exam_document( id = "exam", version = "0.1", use_cdn = FALSE, render = c("server", "static"), progressive = FALSE, order = c("random", "fixed"), max_attempts = Inf, timelimit = Inf, opens = NA, closes = NA, feedback = NA, grace_period = 120, self_contained = TRUE, fig_width = 7, fig_height = 5, fig_retina = 2, fig_caption = TRUE, keep_md = FALSE, dev = "png", highlight = "tango", df_print = "default", css = NULL, mathjax = "default", md_extensions = NULL, extra_dependencies = NULL, ... )
id | the exam id string. To ensure compatibility with most storage providers,
should be a short yet unique identifier with only alphanumeric characters and |
---|---|
version | the exam version string. Must only contain numbers and the |
use_cdn | load javascript libraries from external content delivery networks (CDNs). Use this if the shiny server is slow at serving static resources, but beware of the downsides of relying on content from a third-party! Note that the default MathJax library is always loaded from a CDN. |
render | render section content on the server ( |
progressive | are sections displayed one after another or all at once? If all sections are displayed at once, only the last section button is shown. |
order | if |
max_attempts | maximum number of attempts allowed. This can be overridden for individual users by
|
timelimit | the time limit for a single attempt either as a single number in minutes or as HH:MM.
This can be overridden for individual users with |
opens, closes | the opening and closing time for the exam, in the format YYYY-MM-DD HH:MM Timezone
(e.g., |
feedback | the date/time on which the solution and feedback are available, |
grace_period | number of seconds of "grace" period given to users before an active attempt is disabled.
This can be overridden for individual users with |
self_contained | produce a HTML file with all external dependencies included using |
fig_width | default width (in inches) for figures. |
fig_height | default height (in inches) for figures. |
fig_retina | scaling to perform for retina displays. Set to |
fig_caption |
|
keep_md | Keep the markdown file generated by knitting. |
dev | graphics device to use for figure output (defaults to png). |
highlight | Enable syntax highlighting style via pandoc.
Supported styles include "tango", "pygments", "kate", "monochrome", "espresso", "zenburn", "haddock".
Pass |
df_print | method to be used for printing data frames.
Valid values include "default", "kable", "tibble", and "paged". See |
css | one or more CSS files to include in the document. |
mathjax | if and how to include MathJax. The "default" option uses MathJax v3 from a CDN.
You can pass an alternate URL or pass |
md_extensions | markdown extensions to be added or removed from the default definition of R Markdown.
See |
extra_dependencies, ... | additional arguments passed on to the base R Markdown HTML output
|