check_exercise_rstudio | Check a local exercise file for completed exercise |
check_exercise_shiny | Check code lines for completed exercise in Shiny application |
check_placeholders | Check an exercise for missing arguments |
check_test_integrity | Check to ensure exercise tests have not been altered |
check_tests | Check exercise file tests pass |
current_exercise_lines | Fetch the contents of the current exercise file |
exercise_path_to_entry | Makes an entry for the exercise listing |
generate_exercise_listing | Generate a fresh exercise listing |
get_current_exercise_listing | Get the listing for the current exercise |
get_test_lines | Extract test lines from exercise lines |
is_test | Flag lines that contain test code |
mark_current_exercise_complete | Update the completed status of the current exercise |
msg_alert_danger | Message Alerts |
msg_alert_info | Message Alerts |
msg_alert_success | Message Alerts |
msg_alert_warning | Message Alerts |
msg_h1 | Message Headings |
msg_h2 | Message Headings |
next_exercise | Advance to the next exercise file |
original_test_lines | Get test code from original exercise file |
save_completed_exercise_file | Save current exercise to 'completed' folder |
setup_dir | Setup a 'trainr' project |
setup_rstudio_dir | Function stub for creating a new RStudio project |
text_to_html | Replace console color codes in text with styled spans |
update_current_exercise | Update the current exercise |
update_exercise_listing | Create a new exercise listing if none exists, otherwise... |
write_config_file | Write 'trainr' config to config file |
write_current_exercise_file | Copy the first exercise to current exercise file |
write_exercise_listing | Write a new exercise listing file |
write_rprofile | Setup .Rprofile file |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.