Creates a list of display options that may be passed to
display_options( full_screen = FALSE, content_background_colour = "white", content_border = "1px solid #e8e8e8", show_header = TRUE, show_footer = TRUE, left_margin = 2L, right_margin = 2L, css = character(), admin_panel = TRUE )
Whether the display element for the primary test content
(corresponding to the
ui slot of psychTestR pages)
should be expanded to fill the whole screen.
This is a convenience argument that works by overriding
the following arguments:
content_border (set to
show_header (set to
show_footer (set to
left_margin (set to
right_margin (set to
Note that this will hide the admin panel.
show_footer for further information.
(Character scalar) Background colour for the display element for the primary test content; interpreted as a CSS expression.
(Character scalar) Border format parameters for the display element for the primary test content; interpreted as a CSS expression.
(Logical scalar) Whether the header should be shown (typically contains the title and optionally a logo).
Whether the footer should be shown (typically contains a link to the
once the app is running
(you'll need to be using a proper web browser, rather than RStudio)
and enter the command
To hide it again, log out and then enter
(Integerish scalar) Width of the left margin, with 0 corresponding to no margin and 12 corresponding to the full screen width.
(Integerish scalar) Width of the right margin, with 0 corresponding to no margin and 12 corresponding to the full screen width.
Character vector of file paths to CSS files for inclusion within the psychTestR test. CSS files are used for styling HTML. These file paths should be expressed relative to R's working directory
Whether to display a link for logging in to the admin panel
Note that this admin panel will by default be invisible if
show_footer = FALSE,
A list for passing to the
display argument of