Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

pack_course

Create an .swc file of the course you are working on


Description

"Pack" the course you are working on into a single compressed file that is easy to share. Invisibly returns the path to the .swc file.

Usage

pack_course(export_path = NULL)

Arguments

export_path

Optional, full path to the directory you want the swirl course file to be exported to. If not specified, then the file will appear in the same directory as the course directory.

Value

A string, the path to the new .swc file, invisibly.

Examples

## Not run: 
# Set any lesson in the course you want to pack
set_lesson()

# Pack the course
pack_course()

# Export the .swc file to a directory that you specify
pack_course(file.path("~", "Desktop"))

## End(Not run)

swirlify

A Toolbox for Writing 'swirl' Courses

v0.5.3
MIT + file LICENSE
Authors
Sean Kross [aut, cre], Nick Carchedi [aut], Chih-Cheng Liang [ctb], Wush Wu [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.