mark_my_assignment: Mark assignment in global environment

Description Usage Arguments Examples

View source: R/mark_my_assignment.R

Description

Mark assignment in global environment.

Usage

1
2
mark_my_assignment(tasks = NULL, mark_file = NULL,
  force_get_tests = FALSE, quiet = FALSE, reporter = NULL)

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

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

1
2
3
4
5
assignment_path <- 
 paste0(system.file(package = "markmyassignment"), "/extdata/example_assignment01.yml")
set_assignment(assignment_path)
source(paste0(system.file(package = "markmyassignment"), "/extdata/example_lab_file.R"))
mark_my_assignment()


markmyassignment documentation built on May 19, 2017, 10:59 a.m.
Search within the markmyassignment package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.