The learnr package makes it easy to write interactive tutorials in R. Learnr provides a hook for evaluating student answers. I’ll demonstrate a package I’ve written, checkr, which can be used to provide adaptive, constructive feedback for students to help them correct their own errors. The package also helps instructors to monitor their student’s work.

Subscribe to more inspiring open-source data science content.

We love to celebrate and help people do great data science. By subscribing, you'll get alerted whenever we publish something new.