Skip to content

swirl 2.2.14

Compare
Choose a tag to compare
@ncarchedi ncarchedi released this 31 Jul 01:22
· 127 commits to master since this release

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 to [email protected]. The email includes space for a description of the problem along with the output from sessionInfo().
  • Clean up swirl's core function, swirl() in swirl.R, so that we can view the administrative environment e with as.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 to install_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 by safeEval() when AUTO_DETECT_NEWVAR is TRUE.

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 in swirl.R.