library()
ing packages didn’t work, and that’s now fixed.
This was because callr::r() needed package=TRUE.
Student submissions are now run in a separate R
session.
This will ensure that student submissions are run with the same search
path that they are using on their local machines.
A suppress_warnings
argument was added to
calcGradesForGradescope
. Now you can choose whether or not
warnings should be fatal when running student submission scripts.
Second, more flexibility in specifying the test visibility has been added. Students can see the test results before the submission deadline, after the submission deadline but before the publish date, after the publish date, or never.
Fixed the multiple assertions bugs in calcGrades
and
calcGradesForGradescope
. If one test had multiple calls to
some expect function, all but the first would be ignored. Now, they are
all tested, and full points are awarded if and only if they are all
true. Thanks to Al Fischer of WCU for spotting this!
Two bugs in the vignette were fixed as well. data.csv
needed to be in the local directory from where calcGrades is called, and
there shouldn’t be any setwd()
calls in the test file.
calcGradesForGradescope
function, which helps
grade assignments on the Gradescope platformusing_gradeR_with_Gradescope
a vignette for
helping with the set up of Gradescope’s autograderfindGlobalPaths
, which searches student
submissions for the very bad global/machine-specific file pathsfindBadEncodingFiles
, which searches student
submissions for the very bad non-UTF-8 charactersverbose
argument to calcGrades
, so
you can see which file is being ran in real time-warnings that get triggered by running student submission can now be ignored.
-added a vignette with a fully-worked example
source
call inside tryCatch
function, so that broken submissions don’t interrupt
calcGrades
callFixed bug that prevents an odd number of submissions!
Made the columns of the returned data frame a little prettier.
First release!