# NOT RUN {
# Unpack a course and interactively choose a .swc file
unpack_course()
# Unpack a course where the .swc file is explicitly specified
unpack_course(file.path("~", "Desktop", "R_Programming.swc"))
# Unpack a course and specify where the .swc file is located and where the
# course should be exported.
unpack_course(file.path("~", "Desktop", "R_Programming.swc"),
file.path("~", "Developer", "swirl"))
# }
Run the code above in your browser using DataLab