repo
and admin:org
scopes.~/.Renviron
file, add a line as below. If you don't know what ~
means,
type path.expand("~")
on the R console.GITHUB_PAT = "thelongsequenceofalphanumericcharacters"
hwmgr
install.packages("devtools")
hwmgr
package by devtools::install_github("kenjisato/hwmgr")
my_course
and (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.Rpfoj
to open RStudio.hwmgr::start_course()
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.yml
is the configuration file. Open and edit.solutions/
include suggested solutions.templates/
directory has templates for assignments.hwmgr
hwmgr::draft_homework()
Configuration options will be collected through interactive dialogues.
2. assignments/homework-code-name
is now a git repository, whose origin
is set to a
newly created org/homework-code-name
repository.
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.