Skip to contents

Launch the markermd Shiny Application

Usage

mark(
  collection_path,
  template = NULL,
  use_qmd = TRUE,
  download_archives = TRUE,
  ...
)

Arguments

collection_path

Character string. Path to directory containing subdirectories with assignment repositories

template

Optional template for validation. Can be:

  • Character path to .rds file containing template data

  • List with raw template data (from readRDS)

  • List with transformed templates (from create_question_templates)

  • NULL (no template validation)

use_qmd

Logical. Whether to parse .qmd files (TRUE) or .Rmd files (FALSE). Default is TRUE.

download_archives

Logical. Whether to download all archives at app launch (TRUE) or on-demand (FALSE). Default is TRUE.

...

Additional arguments passed to shiny::runApp()

Value

Launches Shiny application

Examples

if (FALSE) { # \dontrun{
# Parse qmd files from collection of repositories
mark("/path/to/assignments/")

# Parse Rmd files from collection of repositories
mark("/path/to/assignments/", use_qmd = FALSE)

# Parse with template validation
mark("/path/to/assignments/", template = "template.rds")

# Disable upfront archive downloading
mark("/path/to/assignments/", download_archives = FALSE)
} # }