Create a list that contains context for a given correction set (must be recalculated when a different correction set/project is selected).

create_context(
  correction,
  base_corr_dir,
  base_templ_dir,
  base_repos_dir,
  repositories,
  assignments,
  github_url,
  branch
)

Arguments

correction

The correction set

base_corr_dir

The base directory for correction sets

base_templ_dir

The base directory for correction templates

base_repos_dir

The vase directory for GitHub repositories to correct

repositories

The repositories

assignments

The assignments

github_url

The GitHub URL (base part)

branch

The GitHub branch concerned by this correction

Value

A list with the context information for the learnitgrid Shiny app.