testwhat (version 4.2.2)

test_rmd_file: Test R Markdown file

Description

Test a single R Markdown file

Usage

test_rmd_file(code, student_file = NULL, solution_file = NULL)

Arguments

code
the SCT code for the file
student_file
the name of the student file to be tested
solution_file
the name of the solution file to be tested

Details

This test should be called when there are multiple files in the submission.