There is a newer version of the record available.

Published November 12, 2019 | Version v0.10.0
Software Open

rstudio/learnr: v0.10.0

  • 1. RStudio
  • 2. @rstudio
  • 3. RStudio, Inc.
  • 4. University of California, Los Angeles
  • 5. University of Edinburgh, @rstudio, Duke University
  • 6. Aarhus University
  • 7. Tufts University
  • 8. @metrumresearchgroup

Description

learnr 0.10.0 New features

  • Aggressively rerender prerendered tutorials in favor of a cohesive exercise environment (#169, #179, and rstudio/rmarkdown#1420)

  • Added a new function, safe, which evaluates code in a new, safe R environment. (#174)

Minor new features and improvements
  • Added the last evaluated exercise submission value, last_value, as an exercise checker function argument. (#228)

  • Added tabset support. (#219 #212)

  • Question width will expand to the container width. (#222)

  • Available tutorial names will be displayed when no name parameter or an incorrect name is provided to run_tutorial(). (#234)

  • The options parameter was added to question to allow custom questions to pass along custom information. See sortable::sortable_question for an example. (#243)

  • Missing package dependencies will ask to be installed at tutorial run time. (@isteves, #253)

  • When questions are tried again, the existing answer will remain, not forcing the user to restart from scratch. (#270)

  • A version number has been added to question_submission events. This will help when using custom storage methods. (#291)

  • Tutorial storage on the browser is now executed directly on indexedDB using idb-keyval (dropping localforage). This change prevents browser tabs from blocking each other when trying to access indexedDB data. (#305)

Bug fixes
  • Fixed a spurious console warning when running exercises using Pandoc 2.0. (#154)

  • Added a fail-safe to try-catch bad student code that would crash the tutorial. (@adamblake, #229)

  • Replaced references to checkthat and grader in docs with gradethis (#269)

  • Removed a warning created by pandoc when evaluating exercises where pandoc was wanting a title or pagetitle. #303

Files

rstudio/learnr-v0.10.0.zip

Files (6.1 MB)

Name Size Download all
md5:c3cd6ffefd15b1f00db5c0b92c12ef74
6.1 MB Preview Download

Additional details

Related works