swirlify is a comprehensive toolbox for swirl instructors. For more information on swirl, visit our website or our GitHub repository.
This package is still in development and subject to change as we continue to improve the content authoring process for swirl instructors. However, most changes will affect only the authoring workflow and not the format of the content produced. If we ever make changes to the formatting of content, we'll make every effort to maintain backwards compatibility or provide tools to update existing content to the new format.
You'll be installing the development versions of swirl and swirlify. To do so, you need a recent version of devtools, which you can get with install.packages("devtools")
.
devtools::install_github(c("swirldev/swirl", "swirldev/swirlify"))
This is the authoring method that we are actively developing. You can find more detailed information on the instructors page of our website.
library(swirlify)
hlp() # List of options
new_lesson("Lesson Name Here", "Course Name Here")
This is a Shiny app that we developed a while back. You are welcome to use it if you prefer, but we highly recommend you give the other method a try first. It's likely this method will be deprecated at some point in the future, unless someone decides to develop it further.
library(swirlify)
swirlify("Lesson Name Here", "Course Name Here")
We've deprecated the R Markdown authoring tools in favor of the YAML tools outlined above. If you've previously written content in R Markdown, this will not impact swirl's ability to run those lessons. However, if you'd like to update your R Markdown lessons to YAML, you can use this script to automate the process.