Swirlify makes sharing a swirl course easy. We recommend three different methods for sharing a swirl course.
We’ve developed the
.swc file type so that you can share your course as a single file. Creating an
.swc file for your course is easy:
.swcfile using the
.swcfile will appear in the same directory as the directory that contains the course folder. You also have the option to export the
.swcfile to another directory by specifying the
You can now share your
.swc file like you would any other file (through email, file sharing services, etc). Students can install your course from the
.swc file by downloading the file and then using the
install_course() function in swirl, which will prompt them to interactively select the file they downloaded.
We highly encourage you to develop your course on GitHub so that we can better support you if you have questions or need assistance while developing your course. Developing your course on GitHub provides the added benefit that your course will be instantly ready to distribute. Students can install your course from swirl using the
install_course_github() function. Make sure that your course directory is the root folder of your git repository. For examples of courses that have been shared on GitHub you can browse some of the courses on the Swirl Course Network.
The goal of the Swirl Course Network is to list and organize all publicly available swirl courses. Visit the homepage of the SCN for more information. In order to add your course to the SCN:
.swcfile for your course.
.swcfile to your fork.
rmarkdown::render_site()when your current directory is set to your fork.
After adding your course to the SCN students will be able to install your course using
install_course("[Name of Your Course]") in swirl.
If you have any questions about sharing your course please do not hesitate to get in touch with us: email@example.com