Learn R Programming

markmyassignment (version 0.8.9)

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

License

BSD_2_clause + file LICENSE

Maintainer

Mans Magnusson

Last Published

November 22nd, 2025

Functions in markmyassignment (0.8.9)

mark_my_file

Mark assignment file
markmyassignment-package

markmyassignment: Tools to work with student assignments
set_assignment

Set and remove assignments
path_type

Get the path type.
show_tasks

Get the name of the tasks in the assignment.
expect_self_contained

Depricated function: expect_self_contained
expect_package

Depricated function: expect_package
write_assignment_yml

Read assignment information
translate_tasks_name_to_task_files

Get task file name from task names
temp_folder_check_create

Check and create folder if missing.
mark_my_assignment

Mark assignment in global environment
is_github_path

Check if a path is from github
expect_function_arguments

Expect function arguments
expect_attached_package

Expect that a given package is used
get_github_path_info

Get github information from a github path
get_file

Get the file from the path
create_github_download_url

Create a github_download_url from a path_github object.
assert_assignment_config

Assert a assignment_config object.
directories

Functions to create directories
delete_circular_calls

Checks and deletes circular calls
download_assignment

Download assignment and store in temporary folder
assignment_paths_and_files

Get assignment paths and files
read_assignment_yml

Read assignment information
expect_function_code

Expect function contain code
mark_my_dir

Mark assignments in a directory
expect_no_attached_forbidden_package

Expect that a forbidden package is not used/attached
check_installed_packages

Check whether required packages are installed and loaded.
forbidden_functions

Forbidden functions for mark_my_file()
construct_assignment_description

Construct assignment description
expect_function_self_contained

Expect that the tested function is self-contained
cheer

Cheer when all tasks pass
expect_no_forbidden_function_code

Expect no forbidden function code
run_test_suite

Run test suite
get_assignment_full_subpath

Get the full path from assignment paths
assignment_config

Constructor for assignment_config object