Learn R Programming

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

markmyassignment (version 0.8.8)

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

License

BSD_2_clause + file LICENSE

Maintainer

Mans Magnusson

Last Published

January 29th, 2024

Functions in markmyassignment (0.8.8)

mark_my_dir

Mark assignments in a directory
markmyassignment

Automatic Marking of R Assignments
get_file

Get the file from the path
temp_folder_check_create

Check and create folder if missing.
translate_tasks_name_to_task_files

Get task file name from task names
mark_my_assignment

Mark assignment in global environment
set_assignment

Set and remove assignments
path_type

Get the path type.
run_test_suite

Run test suite
get_github_path_info

Get github information from a github path
is_github_path

Check if a path is from github
write_assignment_yml

Read assignment information
show_tasks

Get the name of the tasks in the assignment.
expect_self_contained

Depricated function: expect_self_contained
mark_my_file

Mark assignment file
read_assignment_yml

Read assignment information
delete_circular_calls

Checks and deletes circular calls
assert_assignment_config

Assert a assignment_config object.
expect_function_code

Expect function contain code
forbidden_functions

Forbidden functions for mark_my_file()
assignment_config

Constructor for assignment_config object
create_github_download_url

Create a github_download_url from a path_github object.
get_assignment_full_subpath

Get the full path from assignment paths
expect_function_self_contained

Expect that the tested function is self-contained
assignment_paths_and_files

Get assignment paths and files
construct_assignment_description

Construct assignment description
expect_no_attached_forbidden_package

Expect that a forbidden package is not used/attached
directories

Functions to create directories
cheer

Cheer when all tasks pass
download_assignment

Download assignment and store in temporary folder
expect_package

Depricated function: expect_package
check_installed_packages

Check whether required packages are installed and loaded.
expect_no_forbidden_function_code

Expect no forbidden function code
expect_attached_package

Expect that a given package is used
expect_function_arguments

Expect function arguments