Helper Functions for Creating Tutorials


[Up] [Top]

Documentation for package ‘tutorial.helpers’ version 0.2.6

Help Pages

check_current_tutorial Check current tutorial
check_tutorial_defaults Confirm that a tutorial has the recommended components
determine_code_chunk_name Determine the code chunk name of a new exercise in a tutorial.
determine_exercise_number Finds the number of the next exercise in a tutorial
format_tutorial Re-format a tutorial
get_submissions_from_learnr_session Return a list of tutorial answers
knit_tutorials Knit a set of tutorials
make_exercise Add a tutorial code exercise or question to the active document
make_no_answer Add a tutorial code exercise or question to the active document
make_yes_answer Add a tutorial code exercise or question to the active document
return_tutorial_paths Return all the paths to the tutorials in a package
set_binary_only_in_r_profile Set pkgType to binary in .Rprofile
set_rstudio_settings Select smart setting for RStudio
submission_server Tutorial submission functions
submission_ui Tutorial submission functions
write_answers Write tutorial answers to file