learnr
gained the function learnr::tutorial_package_dependencies()
, used to enumerate a tutorial’s R package dependencies. Front-ends can use this to ensure a tutorial’s dependencies are satisfied before attempting to run that tutorial. learnr::available_tutorials()
gained the column package_dependencies
containing the required packages to run the document. (#329)
Include vignette about publishing learnr tutorials on shinyapps.io
learnr
’s built-in tutorials now come with a description as part of the YAML header, with the intention of this being used in front-end software that catalogues available learnr
tutorials on the system. (#312)
Add session_start
and session_stop
events. (#311)
Fixed a bug where broken exercise code created non-“length-one character vector”. (#311)
Fixed extra parameter documentation bug for CRAN. (#323)
Fixed video initialization error caused by a jQuery version increase in Shiny. (#326)
Fixed progressive reveal bug where the next section would not be displayed unless refreshed. (#330)
Fixed a bug where topics would not be loaded if they contained non-ascii characters. (#330)
Quiz questions are implemented using shiny modules (instead of htmlwidgets). (#194)
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)
Added the last evaluated exercise submission value, last_value
, as an exercise checker function argument. (#228)
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)
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](https://github.com/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
Fixed #136 by displaying full HTML messages (rather than just the text) if provided by the incorrect
or the correct
args to question()
. (#146)
Improved documentation for deploying learnr
tutorials in Shiny Server. (#142)
Fixed a highlight.js issue from rmarkdown 1.8. (#133)
Fixed an false positive in the diagnostics system. (#141)
@ commit #14413cc
@ commit #eeae534
@ commit #b71c637
@ commit #55c33cf
@ commit #a853163
@ commit #3339f8a
@ commit #9cd0082
@ commit #a81a694
init commit! #e2dbb20