upload_course: Create or update a course

Description Usage Arguments Details Examples

Description

Uploads the course.yml file to datacamp.com. Use this function to change the course title, description, etc. and to update the chapters' ordering.

Usage

1
2
upload_course(course_folder = ".", open = TRUE, force = FALSE,
  upload_chapters = FALSE)

Arguments

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

Details

If you're not yet logged in when calling this function, you'll be prompted to log in.

Examples

1
2
3
4
5
## Not run: 
upload_course()
upload_course(upload_chapters = TRUE) # also upload chapters listed in course.yml

## End(Not run)

datacamp/datacamp documentation built on May 14, 2019, 7:11 p.m.