Unpack an .swc file into a swirl course
Invisibly returns the path to the unpacked course directory.
unpack_course(file_path = file.choose(), export_path = dirname(file_path))
file_path |
Optional, full path to the |
export_path |
Optional, full path to the directory where the swirl course
should be exported. If not specified, the course will appear in the same
directory as the |
A string, the path to the unpacked course directory, invisibly.
## 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")) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.