Package: learnr 0.11.5.9000

Garrick Aden-Buie

learnr: Interactive Tutorials for R

Create interactive tutorials using R Markdown. Use a combination of narrative, figures, videos, exercises, and quizzes to create self-paced tutorials for learning about R and R packages.

Authors:Garrick Aden-Buie [aut, cre], Barret Schloerke [aut], JJ Allaire [aut, ccp], Alexander Rossell Hayes [aut], Nischal Shrestha [ctb], Angela Li [ctb], Posit, PBC [cph, fnd], Ajax.org B.V. [ctb, cph], Zeno Rocha [ctb, cph], Nick Payne [ctb, cph], Jake Archibald [ctb, cph], i18next authors [ctb, cph]

learnr_0.11.5.9000.tar.gz
learnr_0.11.5.9000.zip(r-4.5)learnr_0.11.5.9000.zip(r-4.4)learnr_0.11.5.9000.zip(r-4.3)
learnr_0.11.5.9000.tgz(r-4.4-any)learnr_0.11.5.9000.tgz(r-4.3-any)
learnr_0.11.5.9000.tar.gz(r-4.5-noble)learnr_0.11.5.9000.tar.gz(r-4.4-noble)
learnr_0.11.5.9000.tgz(r-4.4-emscripten)learnr_0.11.5.9000.tgz(r-4.3-emscripten)
learnr.pdf |learnr.html
learnr/json (API)
NEWS

# Install 'learnr' in R:
install.packages('learnr', repos = c('https://rstudio.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rstudio/learnr/issues

Pkgdown:https://pkgs.rstudio.com

On CRAN:

interactivepythonrmarkdownshinysqlteachingtutorial

14.74 score 713 stars 26 packages 6.4k scripts 17k downloads 1 mentions 39 exports 43 dependencies

Last updated 3 months agofrom:a644d2dd4c. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 03 2024
R-4.5-winOKDec 03 2024
R-4.5-linuxOKDec 03 2024
R-4.4-winOKDec 03 2024
R-4.4-macOKDec 03 2024
R-4.3-winOKDec 03 2024
R-4.3-macOKDec 03 2024

Exports:answeranswer_fnavailable_tutorialscorrectdisable_all_tagsduplicate_envevent_register_handlerexternal_evaluatorfilesystem_storagefinalize_questionget_tutorial_infoget_tutorial_stateincorrectinitialize_tutorialmark_asmock_chunkmock_exerciseone_timequestionquestion_checkboxquestion_is_correctquestion_is_validquestion_numericquestion_radioquestion_textquestion_ui_completedquestion_ui_initializequestion_ui_try_againquizrandom_encouragementrandom_phrases_addrandom_praiserun_tutorialsafesafe_envtutorialtutorial_html_dependencytutorial_optionstutorial_package_dependencies

Dependencies:backportsbase64encbslibcachemcheckmateclicommonmarkcrayondigestevaluatefastmapfontawesomefsgluehighrhtmltoolshtmlwidgetshttpuvjquerylibjsonliteknitrlaterlifecyclemagrittrmarkdownmemoisemimepromisesR6rappdirsRcpprenvrlangrmarkdownrprojrootsassshinysourcetoolstinytexwithrxfunxtableyaml

Internationalization

Rendered frommultilang.Rmdusingknitr::rmarkdownon Dec 03 2024.

Last update: 2023-11-13
Started: 2021-01-15

Publishing on shinyapps.io

Rendered fromshinyapps-publishing.Rmdusingknitr::rmarkdownon Dec 03 2024.

Last update: 2022-11-08
Started: 2020-02-09

Readme and manuals

Help Manual

Help pageTopics
Question answer optionsanswer answer_fn
List available tutorialsavailable_tutorials
Mark submission as correct or incorrectcorrect incorrect mark_as
Disable all html tagsdisable_all_tags
Create a duplicate of an environmentduplicate_env
Register an event handler callbackevent_register_handler
External execution evaluatorexternal_evaluator
Filesystem-based storage for tutor state datafilesystem_storage
Finalize a questionfinalize_question
Formatting and printing quizzes, questions, and answersformat.tutorial_question format.tutorial_question_answer format.tutorial_quiz print.tutorial_question print.tutorial_question_answer print.tutorial_quiz
Get information about the current tutorialget_tutorial_info
Observe the user's progress in the tutorialget_tutorial_state
Initialize tutorial R Markdown extensionsinitialize_tutorial
Knitr quiz print methodsknit_print.tutorial_question knit_print.tutorial_quiz
Wrap an expression that will be executed one time in an event handlerone_time
Checkbox questionquestion_checkbox
Number questionquestion_numeric
Radio questionquestion_radio
Text box questionquestion_text
Custom question methodsquestion_is_correct question_is_correct.default question_is_valid question_is_valid.default question_ui_completed question_ui_completed.default question_ui_initialize question_ui_initialize.default question_ui_try_again question_ui_try_again.default
Tutorial quiz questionsquestion quiz
Add phrases to the bank of random phrasesrandom_phrases_add
Random praise and encouragementrandom_encouragement random_praise
Run a tutorialrun_tutorial
Execute R code in a safe R environmentsafe
Tutorial document formattutorial
Tutorial HTML dependencytutorial_html_dependency
Set tutorial optionstutorial_options
List tutorial dependenciestutorial_package_dependencies