Description Usage Arguments Details Examples
Uploads the course.yml
file to datacamp.com.
Use this function to change the course title, description, etc. and to update the chapters' ordering.
1 2 |
course_folder |
path to folder containing the course yml file. |
open |
boolean, TRUE by default, determines whether a browser window should open, showing the course creation web interface |
force |
boolean, FALSE by default, that allows to remove chapters from the live course that are not in the course.yml |
upload_chapters, |
boolean, FALSE by default, that specifies whether to also upload the chapters |
If you're not yet logged in when calling this function, you'll be prompted to log in.
1 2 3 4 5 | ## Not run:
upload_course()
upload_course(upload_chapters = TRUE) # also upload chapters listed in course.yml
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.