Learn R Programming

markmyassignment (version 0.3.0)

mark_my_file: Mark assignment file

Description

Mark a specific assignment file

Usage

mark_my_file(tasks = NULL, mark_file = file.choose(), lab_file,
  force_get_tests = FALSE, quiet = FALSE, reporter)

Arguments

tasks
Which task should be corrected (if more than one). Default is all. To see the different task, see show_tasks.
mark_file
Path to the file to mark.
lab_file
Assignment file to set before marking the assignment (url or local path).
force_get_tests
Force download of test files before marking of assignments. Default is FALSE.
quiet
Should test be run without output?
reporter
to use. Default is the 'summary' or specified in assignment yml file.

Examples

Run this code
assignment_path <- 
  paste0(system.file(package = "markmyassignment"), "/extdata/example_assignment01.yml")
file_path <- paste0(system.file(package = "markmyassignment"), "/extdata/example_lab_file.R")
mark_my_file(mark_file = file_path, lab_file = assignment_path)

Run the code above in your browser using DataLab