Uploads the course.yml file to datacamp.com. Use this function to change the course title, description, etc. and to update the chapters' ordering.
course.yml
upload_course(course_folder = ".", open = TRUE, force = FALSE, upload_chapters = FALSE)
path to folder containing the course yml file.
boolean, TRUE by default, determines whether a browser window should open, showing the course creation web interface
boolean, FALSE by default, that allows to remove chapters from the live course that are not in the course.yml
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.
# NOT RUN { upload_course() upload_course(upload_chapters = TRUE) # also upload chapters listed in course.yml # }
Run the code above in your browser using DataCamp Workspace