-
Notifications
You must be signed in to change notification settings - Fork 242
Store exercises and questions in list in cache env #571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
gadenbuie
merged 24 commits into
rstudio:master
from
gadenbuie:570-order-tutorial-state
Aug 24, 2021
Merged
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
a210a0a
Store exercises and questions in list in cache env
gadenbuie 57ebb8d
Return tutorial state in order of appearance
gadenbuie 062065c
Print `learnr_exercise` obejcts as Rmd chunks
gadenbuie 32efe74
Don't duplicate chunk labels
gadenbuie 49fee55
Update `mock_exercise()` with `learnr_exercise` class
gadenbuie 062efe7
Set `force = TRUE` when serializing exercises
gadenbuie df561a0
Add data frame describing interactive items to `get_tutorial_info()`
gadenbuie fcd73e6
devtools::document()
gadenbuie ce4fa47
Include ex/q object in `data` of `$items` and fix order of setup chunk
gadenbuie ee2fc12
Add `data` to description of `items` element
gadenbuie 436123f
Protect `get_tutorial_info()` from being called by user code
gadenbuie 13824e0
Deprecate `clear_{exercise,question}_cache_env()` in favor of `clear_…
gadenbuie 9e36900
Only update question state when it is non-NULL
gadenbuie 82cbf70
Inline `global_setup` into exercise objects on creation
gadenbuie 0b6d818
Rename exercise object class `tutorial_exercise`
gadenbuie 2fa0f25
Remove old source knitr hook
gadenbuie 9db5500
Fix typo
gadenbuie b4d124b
Refactor `prepare_tutorial_cache_from_source()`
gadenbuie 429e041
Remove unused knitr hooks tests
gadenbuie 275ac07
Fix removal of tutorial knitr hooks and don't store `tutorial` in `ex…
gadenbuie 80dbe3a
Properly handle `setup-global-exercise` chunks
gadenbuie 645f098
Avoid rcmdcheck issues with `getFromNamespace()`
gadenbuie 2b6c908
`setup-global-exercise` chunk is the external setup chunk
gadenbuie 0b26922
Add NEWS for #571
gadenbuie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.