Learn R Programming

⚠️There's a newer version (0.8.9) of this package.Take me there.

markmyassignment (version 0.6.0)

Automatic Marking of R Assignments

Description

Automatic marking of R assignments for students and teachers based on 'testthat' test suites.

Copy Link

Version

Install

install.packages('markmyassignment')

Monthly Downloads

310

Version

0.6.0

License

BSD_2_clause + file LICENSE

Maintainer

Mans Magnusson

Last Published

April 16th, 2016

Functions in markmyassignment (0.6.0)

mark_my_file

Mark assignment file
expect_self_contained

Depricated function: expect_self_contained
show_tasks

Get the name of the tasks in the assignment.
mark_my_dir

Mark assignments in a directory
markmyassignment

Automatic Marking of R Assignments
temp_folder_check_create

Check and create folder if missing.
directories

Functions to create directories
get_file

Get the file from the path
mark_my_assignment

Mark assignment in global environment
check_existance_tasks

Check that tasks exist in assignment.
read_assignment_yml

Load assignment information
check_assignment_file

Check assignment yml file that it is a correct assignment file
expect_package

Depricated function: expect_package
check_installed_packages

Check whether required packages are installed and loaded.
get_tests

Get test files
get_mark_my_reporter

Get reporter from yml file
path_type

Get the path type.
delete_circular_calls

Checks and deletes circular calls
set_assignment

Set assignment to mark
run_test_suite

Run test suite
expect_function_self_contained

Expect that the tested function is self-contained
expect_function_code

Expect function contain code
expect_function_arguments

Expect function arguments
assert_function_arguments_in_API

Checks the input arguments for mark_my_assignment and mark_my_file
assignment_yml_ok

Check the yml file to be a correct assignment yml.
expect_attached_package

Expect that a given package is used
cached_tasks

Cached tasks
cheer

Cheer when all tasks pass