Releases: swirldev/swirl
Releases · swirldev/swirl
swirl 2.4.5
swirl 2.4.5
- Thank you @HenrikBengtsson for fixing a warning when
warnPartialMatchArgs=TRUE
. (#779)
swirl 2.4.4
- Fixed encoding test which was failing on CRAN (debian-clang-devel).
swirl 2.4.3
-
Added "swirl_is_fun" option to
swirl_options()
. -
Added Portuguese menu translations.
swirl 2.4.2
- Script questions behave more appropriately in RStudio. (#434, thank you @jimhester)
swirl 2.4.1
swirl 2.4.1
- Added new answer test:
calculates_same_value()
. - Now compatible with versions of testthat later than 0.11.0.
swirl 2.4.0
swirl 2.4.0
- Added support for multiple languages, including Spanish, French, German,
Turkish, Simplified Chinese, and Korean. The default language can be changed
using the functionselect_language()
. - Added
install_course()
in order to install swirl courses that are
distributed in the .swc format. - The directories where swirl courses and where user data is stored can now be
explicitly specified. These options can be set using the function
swirl_options()
. - It's now possible to log and collect a student's progression
through a swirl course. Enable logging withswirl_options()
. - Improved support for displaying non-ASCII character sets
through UTF-8 encoding. - Now compatible with
swirlify::demo_lesson()
.
swirl 2.2.21
swirl 2.2.21
- Add
mirror
argument toinstall_from_swirl()
to accommodate installing courses from the Bitbucket mirror of our swirl-courses GitHub repository. (Prompted by India's blocking of GitHub.) - Check for existence of variable in swirl.R to address issue with using
rm()
command.
swirl 2.2.16
swirl 2.2.16
- Fix bug in
install_from_swirl()
that was causinginstall_from_swirl("R Programming")
to install bothR Programming
andR Programming Alt
. - Fix troublesome links to the swirl_courses repo.
swirl 2.2.15
swirl 2.2.15
- Fix annoying typo in one of the "praise" messages.
swirl 2.2.14
swirl 2.2.14
- Add
?InstallCourses
, which gives a brief overview of installing swirl courses and includes links to all relevant help files. - Add
email_admin()
feature, which allows the user to automatically generate an email to be sent toinfo@swirlstats.com
. The email includes space for a description of the problem along with the output fromsessionInfo()
. - Clean up swirl's core function,
swirl()
in swirl.R, so that we can view the administrative environmente
withas.list(e)
without complaint from R. - Add empty cran-comments.md to appease new devtools
release()
.
swirl 2.2.13
- Add a new
script
question type, which allows an instructor to present a preformatted R script to the user for editing and submission. swirl was originally designed for interactive programming at the prompt. It now accommodates multiline input, which allows for exploration of topics like writing functions and control structures, as well as more extended function calls. - Allow user to make swirl feedback less playful with
options(swirl_is_fun = FALSE)
.
swirl 2.2.12
- In
welcome.default()
, make sure the user doesn't put any special characters (using the[[:punct:]]
regex) in his or her name, as this might lead to an invalid file path for their user data. Thanks to @Sarpwus for bringing this to my attention. - Trim leading/trailing whitespace when reading lesson dependencies from dependson.txt.
- Add
dev
argument toinstall_from_swirl()
to allow installation of courses in development from the swirl_misc repository. - Update phrases.R to include new praise and 'try again' phrases. Thanks to @sagevann for the suggestions.
- Use
capture.output()
to avoid double printing due to second evaluation bysafeEval()
whenAUTO_DETECT_NEWVAR
isTRUE
.
swirl 2.2.11
- Add
testit()
to functions for callback to ignore, so that swirl plays nicely with swirlify. - Add from/to feature for testing specific units of content during course authoring.
swirl 2.2.10
- Corrected order of
mergeList
arguments inswirl.R
.