Helper Functions for Creating Tutorials


[Up] [Top]

Documentation for package ‘tutorial.helpers’ version 0.3.0

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
process_submissions Process Submissions
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
show_file Display the contents of a text file that match a pattern
submission_server Tutorial submission functions
submission_ui Tutorial submission functions
write_answers Write tutorial answers to file