mark_my_file: Mark assignment file

View source: R/mark_my_file.R

mark_my_fileR Documentation

Mark assignment file

Description

Mark a specific assignment file

Usage

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

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.

assignment_path

Assignment file to set before marking the assignment (url or local path).

force_get_tests

Argument is deprecated, use set_assignment() instead.

quiet

Should test be run without output?

...

further arguments sent to test_dir().

Examples

## Not run: 
assignment_path <- 
  file.path(system.file(package = "markmyassignment"), "extdata", "example_assignment01.yml")
file_path <- file.path(system.file(package = "markmyassignment"), "extdata", "example_lab_file.R")
mark_my_file(mark_file = file_path, assignment_path = assignment_path)

## End(Not run)

MansMeg/markmyassignment documentation built on Jan. 31, 2024, 4:11 p.m.