Verify R code submissions and auto-generate meaningful feedback messages. Originally developed for R exercises on DataCamp for so-called Submission Correctness Tests, but can also be used independently.

For details, questions and suggestions, contact us.

Installation

library("remotes")
install_github("datacamp/testwhat")

Demo

Experimenting locally:

To include an SCT in a DataCamp course, visit https://instructor-support.datacamp.com.

Tests

testwhat currently depends on the proprietary RBackend and RCompletion packages to run tests. Tests run automatically on every branch that is updated through travis.

Documentation

Whenever a push is done to the master branch, this repo will automatically build a pkgdown website (containing reference documentation and vignettes), push it to the gh-pages branch, which in turn is served by GitHub at https://datacamp.github.io/testwhat.

License

FOSSA Status