calcGradesForGradescope {gradeR} | R Documentation |
The grading function for Gradescope.
Description
This function grades one R script assignment submission and writes results out to a properly-formatted json file for Gradescope.
Usage
calcGradesForGradescope(
submission_file,
test_file,
which_results = "gradescope",
suppress_warnings = TRUE
)
Arguments
submission_file |
the name of the assignment submission file (e.g. "hw1.r") |
test_file |
the name of the .r file with test_that tests (e.g. "hw1_tests.R") |
which_results |
Choose either "testing" or "gradescope" If equal to "gradescope" then the json file is written out to the directory that Gradescope expects. Otherwise, results.json is written to your current working directory. |
suppress_warnings |
If FALSE, warnings are fatal; if set to TRUE, then warnings will not prematurely terminate running of student submission scripts. |
[Package gradeR version 1.0.10 Index]