Learn R Programming

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

markmyassignment (version 0.6.1)

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.1

License

BSD_2_clause + file LICENSE

Maintainer

Mans Magnusson

Last Published

August 16th, 2016

Functions in markmyassignment (0.6.1)

assignment_yml_ok

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

Cheer when all tasks pass
expect_self_contained

Depricated function: expect_self_contained
check_installed_packages

Check whether required packages are installed and loaded.
get_tests

Get test files
expect_function_arguments

Expect function arguments
expect_function_code

Expect function contain code
mark_my_assignment

Mark assignment in global environment
get_mark_my_reporter

Get reporter from yml file
get_file

Get the file from the path
expect_function_self_contained

Expect that the tested function is self-contained
mark_my_dir

Mark assignments in a directory
expect_package

Depricated function: expect_package
run_test_suite

Run test suite
set_assignment

Set assignment to mark
path_type

Get the path type.
show_tasks

Get the name of the tasks in the assignment.
read_assignment_yml

Load assignment information
temp_folder_check_create

Check and create folder if missing.
mark_my_file

Mark assignment file
markmyassignment

Automatic Marking of R Assignments
cached_tasks

Cached tasks
check_existance_tasks

Check that tasks exist in assignment.
check_assignment_file

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

Checks the input arguments for mark_my_assignment and mark_my_file
delete_circular_calls

Checks and deletes circular calls
directories

Functions to create directories
expect_attached_package

Expect that a given package is used