if (FALSE) {
# For local testing
calcGradesForGradescope("student_hw1.r", "hw1_tests.R", which_results = "testing")
# For Gradescope autograder (inside Gradescope environment)
# calcGradesForGradescope("hw1.r", "hw1_tests.R", which_results = "gradescope")
# Works with R Markdown files too
# calcGradesForGradescope("student_hw1.Rmd", "hw1_tests.R", which_results = "testing")
}
Run the code above in your browser using DataLab