mark_my_assignment {markmyassignment}R Documentation

Mark assignment in global environment

Description

Mark assignment in global environment.

Usage

mark_my_assignment(
  tasks = NULL,
  mark_file = 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

Argument is deprecated, use mark_my_file instead.

force_get_tests

Argument is deprecated, use set_assignment() instead.

quiet

Should test be run without output?

...

further arguments sent to test_dir().

Examples

assignment_path <- 
  file.path(system.file(package = "markmyassignment"), "extdata", "example_assignment01.yml")
set_assignment(assignment_path)
source(file.path(system.file(package = "markmyassignment"), "extdata", "example_lab_file.R"))
mark_my_assignment()


[Package markmyassignment version 0.8.8 Index]