- Fixed failing tests by integrating new features in testthat 2.0.
-
Fixed issue where Ace editor was not working on Windows.
-
Added
make_pathname()
. -
Added
swirl_courses_dir()
.
-
Removed
lp()
. -
Deprecated
testit()
.testit()
will be removed in swirlify 0.6. -
Added
demo_lesson()
which replacestestit()
. -
Added
google_form_decode()
to help course authors evaluate their students' progress in a swirl couse. -
Added
swirlify()
which starts a Shiny app for authoring swirl lessons.
-
Removed
swirlify_help()
. -
Changed
demo_lesson()
totestit()
, although it will be changed back before swirlify 0.5. This was done because of compatibility issues with swirl. -
Added
lp()
for quickly finding the file path to the current lesson.yaml.
-
test_lesson()
andtest_course()
now check for proper lesson formatting. -
Added tests for packing and unpacking a lesson.
-
Added
add_license()
for easy course licensing. -
Changed
count_units()
tocount_questions()
. -
Changed
test_lesson()
todemo_lesson()
.
-
Removed shiny authoring tool. Development of this tool will continue as a separate project.
-
Added
pack_course()
andunpack_course()
to help with sharing courses in the.swc
file format. -
Changed the API for all of the question writing functions which now start with the prefix
wq_
. This is meant to be used with tab-completion to make writing lessons easier. -
Changed
swirl2html()
tolesson_to_html()
. -
Changed
hlp()
toswirlify_help()
.
- Fix typo in
swirl2html()
documentation.
-
Deprecate
author_lesson()
, which is the old R Markdown approach. We me eventually introduce a more efficient R Markdown style that is neatly integrated with the current YAML approach. -
Change
new_yaml()
tonew_lesson()
with notice to user.
-
Normalize file paths using
normalizePath()
in case user specifies a relative path to a lesson, then changes their working directory. -
Allow user to specify path to YAML lesson as an argument to
set_lesson()
. -
Update
hlp()
menu.
-
Add check to
testit()
to make sure that the lesson being tested is listed in the courseMANIFEST
, if one exists in the course directory. -
Add commented out
AUTO_DETECT_NEWVAR <- FALSE
to customTests.R template created bynew_yaml()
. Setting this variable equal toFALSE
can prevent double evaluation of printing and plotting commands. -
Update
hlp()
output to includecount_units()
andtestit(from, to)
.
- Add
swirl2html()
to convert swirl lessons formatted in YAML to R markdown (Rmd) and html files. The output is a stylized webpage that acts as a standalone tutorial based on the original swirl lesson.
- Add a more bare bones YAML authoring toolset initiated by
new_yaml()
.hlp()
gives a list of related functions. We plan to integrate this new approach more closely with existing swirlify functions, but it functions well as is.