~/.Renvironfile, add a line as below. If you don't know what
path.expand("~")on the R console.
GITHUB_PAT = "thelongsequenceofalphanumericcharacters"
my_courseand (optionally) make it an RStudio Project. Go to the R console and set that directory as the working directory by
setwd("/path/to/my_course")or simply double clicking
my_couse.Rpfojto open RStudio.
Configuration options will be collected through interactive dialogues. This command creates the following directory structure by default.
my_course/ ├── assignments/ ├── collected/ ├── config.yml ├── solutions/ └── templates/ └── blank/ └── README.md
assignments/directory populates all assignments.
collected/directory populates solutions submitted by students.
config.ymlis the configuration file. Open and edit.
solutions/include suggested solutions.
templates/directory has templates for assignments.
Configuration options will be collected through interactive dialogues.
assignments/homework-code-name is now a git repository, whose
origin is set to a
3. Edit template, add, commit, and push.
Follow the instruction.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.