I teach R and epidemiology courses and am building a course website that includes automatic code checking for student submissions. Ideally, I'd like to use an open-source package rather than build something from scratch.
So far, I’ve looked into:
testwhat
– last commit: June 22, 2022gradethis
– last commit: July 5, 2023gradeR
– last commit: December 16, 2021
They all look promising, but none seem to be actively maintained.
I also found this helpful thread on the Posit Community about using gradethis
, learnr
, and ghclass
, but it's from October 2019—so I’m not sure how much of it is still current.
My questions:
- Does anyone know if any of these packages are still under active development or maintenance?
- Are there other packages or tools I may have missed that are better suited for interactive code checking in an educational context?
- Has anyone used
testthat
for student code evaluation (even though it's designed for unit testing R packages)?
Thanks in advance for any guidance or recommendations!