📚 A toolbox for writing swirl courses
Latest commit 7a04c1b Jul 13, 2016 @seankross seankross committed on GitHub Merge pull request #20 from swirldev/dev
swirlify 0.5
Failed to load latest commit information.
R removed utils remnants Jul 13, 2016
inst added google_form_decode test Jul 12, 2016
revdep major fixes to swirlify app Jul 13, 2016
.Rbuildignore removed NEWS.md from .Rbuildignore Jul 13, 2016
.travis.yml major fixes to swirlify app Jul 13, 2016
DESCRIPTION added newline to end of DESCRIPTION Jul 13, 2016
LICENSE major fixes to swirlify app Jul 13, 2016
NAMESPACE removed utils remnants Jul 13, 2016
README.md major fixes to swirlify app Jul 13, 2016


Build Status CRAN version


swirlify is an R package that includes tools for writing and sharing swirl courses. For more information on swirl, visit our website or our GitHub repository.


CRAN Version


Development Version

install_github("swirldev/swirlify", ref = "dev")

Quick Start

We highly recommend using RStudio for authoring swirl content.


# Create a new lesson and a new course
new_lesson("My Lesson", "My Course")

# Add content to the lesson in a text editor

# When you are finished writing your lesson, add it to the course manifest

# Convret your course into a `.swc` file so you can share it easily.


For extensive documentation on swirlify and tips for writing swirl courses see the swirlify website.

Course structure

swirl courses have the following structrue:

  • Courses are directories that contain all of the files, folders, and lessons associated with the course you are developing. The name of the course directory is the name of the course. For example the name of the directory that contains Team swril's R Programming course is named R_Programming.
  • Lessons are directories that contain single units of instruction. The name of a lesson directory is the name of that lesson. Every lesson must at least contain a lesson.yaml file containing lesson content.
  • Questions are written inside of the lesson.yaml file in each lesson directory. Students are prompted with questions in sequential order.


If you have any questions about using swirlify don't hesitate to reach out to us: info@swirlstats.com