RDocumentation
Moon
Learn R
Search all packages and functions
⚠️
There's a newer version (0.8.8) of this package.
Take me there.
markmyassignment (version 0.4.0)
Automatic Marking of R Assignments
Description
Automatic marking of R assignments for students and teachers based on 'testthat' test suites.
Copy Link
Copy
Link to current version
Version
Version
0.8.8
0.8.6
0.8.3
0.8.2
0.8.1
0.6.1
0.6.0
0.5.0
0.4.0
0.3.0
Down Chevron
Install
install.packages('markmyassignment')
Monthly Downloads
337
Version
0.4.0
License
BSD_2_clause + file LICENSE
Maintainer
Mans Magnusson
Last Published
January 18th, 2016
Functions in markmyassignment (0.4.0)
Search functions
expect_package
Expect that a given package is used
mark_my_assignment
Mark assignment in global environment
StudentReporter-class
Test reporter: Simplified summary of failures and errors.
assert_function_arguments_in_API
Checks the input arguments for mark_my_assignment and mark_my_file
expect_tidy_code
Expect tidy format (to be constructed)
mark_my_file
Mark assignment file
delete_circular_calls
Checks and deletes circular calls
use_package
Package is used test
temp_folder_check_create
Check and create folder if missing.
get_tests
Get test files
function_code
Function contain code test
directories
Functions to create directories
check_assignment_file
Check assignment yml file that it is a correct assignment file
cheer
Cheer when all tasks pass
get_file
Get the file from the path
find_expr
Internal function (taken from testthat)
mark_my_dir
Mark assignments in a directory
get_mark_my_reporter
Get reporter from yml file
is_self_contained
Function is self contained test
check_existance_tasks
Check that tasks exist in assignment.
read_assignment_yml
Load assignment information
show_tasks
Get the name of the tasks in the assignment.
check_installed_packages
Check whether required packages are installed and loaded.
expect_function_arguments
Expect function arguments
cached_tasks
Cached tasks
has_function_arguments
Function has argument test
expect_function_code
Expect function contain code
expect_self_contained
Expect that the tested function is self-contained
run_test_suite
Run test suite
markmyassignment
Automatic Marking of R Assignments
assignment_yml_ok
Check the yml file to be a correct assignment yml.
path_type
Get the path type.
set_assignment
Set assignment to mark