devtools::install_github(repo = "anthonypileggi/gradeR")
The gradeR package was originally designed for teachers that are incorporating Swirl in their lesson plans and want an easy way to track student progress. Functionally, it is a simple tool that compares two workspaces.
dir.create("Lesson1"); setwd(file.path(getwd(), "Lesson1"))gradeR::createKey("Lesson1") ("_KEY.Rdata" will be appended to the name)rm(list = ls())save.image("Lesson1_anthony.Rdata")setwd(file.path(getwd(), "Lesson1"))id_key <- grepl("_KEY", list.files())gradeR::grade(list.files()[!id_key], list.files()[id_key])Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.