Description Usage Arguments Value Examples
Starting a Course, Light wrapper for make_course
1 2 3 4 5 6 7 8 9 10 11 |
course_name |
Name of the course. Any spaces will be set to underscores |
root_path |
The directory to put the course into. |
book_txt |
A text file with names of markdown files and course names |
folder_id |
Google ID for a folder of presentations |
verbose |
print diagnostic messages |
rstudio |
If |
open |
If |
git |
If |
... |
additional argument to pass to |
The output of make_course
.
1 2 3 4 5 6 7 8 9 10 11 12 13 | root_path = tempfile()
course_name = "test this out"
sc = create_course(course_name, root_path)
root_path = tempfile()
course_name = "test this out2"
book_txt = system.file("extdata", "Book.txt", package = "didactr")
sc = create_course(course_name, root_path, book_txt = book_txt)
readLines(sc$book_txt)
md_files = list.files(sc$man_path, full.names = TRUE)
md_files
readLines(md_files[1])
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.