Description Usage Arguments Value Examples
Check for expected file structure and create missing
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | make_course(
course_dir = ".",
book_txt = NULL,
verbose = TRUE,
warn_book_exists = TRUE,
create_directories = TRUE
)
check_structure(
course_dir = ".",
book_txt = NULL,
verbose = TRUE,
warn_book_exists = TRUE,
create_directories = TRUE
)
|
course_dir |
directory with course materials |
book_txt |
A text file with names of markdown files and course names |
verbose |
print diagnostic messages |
warn_book_exists |
Should a warning be sent if |
create_directories |
if the directories do not exist, create them. |
A list of the paths necessary for the course
1 2 3 | course_dir = tempfile()
dir.create(course_dir)
make_course(course_dir)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.