new_course()
Create a Course Project
Shorthand for new_project(..., type = "course"). Creates a project structured for teaching materials with slides, assignments, and modules.
Usage
new_course(name = NULL, location = NULL, browse = interactive(), ...)
Arguments
| Name | Description |
|---|---|
| name |
Project name. If NULL (default), prompts interactively. |
| location |
Directory path where project will be created. If NULL (default), prompts interactively. |
| browse |
Whether to open the project folder after creation (default: TRUE in interactive sessions) |
| ... |
Additional arguments passed to `project_ |
Value
Invisibly returns the result from project_create()
Examples
if (FALSE) {
new_course("stats-101", "~/projects/stats-101")
}