You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
parse_content() now parses content (at runtime) in its original form (R Markdown, YAML, etc.), making conversion to CSV files unnecessary. The appropriate parsing method is called based on the extension of the lesson file. Creating a new course authoring format is as simple as writing a new method for parse_content() that accepts the content as input and returns a properly structured lesson object.
author_lesson() function creates and opens a customized lesson template for authoring content.
Suite of functions for installing (and uninstalling) swirl courses:
install_course_directory(): Install a course from a course directory
install_course_dropbox(): Install a course from a zipped course directory shared on Dropbox
install_course_github(): Install a course from a GitHub repository
install_course_google_drive(): Install a course from a zipped course directory shared on Google Drive
install_course_url(): Install a course from a url that points to a zip file
install_course_zip(): Install a course from a zipped course folder
uninstall_course(): Uninstall a course
zip_course(): Zip a course directory
Course authors can add custom tests for student repsonses.
Custom tests may be defined in the lesson directory in file named customTests.R.
Custom tests run in the same environment as tests provided with the package.
Revised suite of answer tests (contained in answerTests2.R) using a more natural function call syntax.
Revised user progress tracking and restoration.
Improved tracking by taking environmental "snapshots."
Keep a list of variables created or modified by correct responses.
Restore list to global environment after a lesson is suspended and resumed.
Message notifying the user when she's completed a lesson, just prior to returning to the main menu.