Description Usage Arguments Value Examples
View source: R/course_creation.R
The author_course function will: (i) create a folder in you current working directory with the name "courseName", (ii) initialize a Git repo for version control, (iii) copy a demo file "index.Rmd" inside that folder so you can get started, and (iv) open "index.Rmd", a template for creating a chapter, such that you can start writing exercises in the template. Find more information on the (necessary) blocks of an interactive exercise on DataMind below or just read the instructions in the template.
1 | author_course(chapdir,...)
|
chapdir |
String indicating the course name (and thus the name of the folder that will be created) |
... |
Extra arguments you'd like to pass to the function. Under the hood, the |
The author_course
function does not return a value but it is called for its side effect as described above.
1 | author_course("myNewTutorialName")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.