Comments (2)
This feature already exists, but you control whether or not it's enabled. See the doc for exercise skipping here for how to turn it on / off:
https://rstudio.github.io/tutor/formats.html#exercise_skipping
from learnr.
It seems like a very bad idea to make the above ambiguity possible--but that said, the problem remains and this issue should be reopened.
If an author does not want to let their students skip exercises and also has a sub-section without an exercise, the sub-sections beyond it will remain hidden and inaccessible:
---
title: "Demo Tutorial"
output:
tutor::tutorial:
progressive: true
runtime: shiny_prerendered
---
```{r setup, include=FALSE}
library(tutor)
```
## Welcome
### Visible sub-section
This sub-section is visible. But it does not have an. Notice that there is no "Next Topic" button.
### Hidden sub-section
This sub-section is hidden. You do not know that it exists.
## Second Task
Once "finished" above, you can navigate here with the TOC.
If the author does allow skipping. The hidden sub-sections will be cued with a button that says "Skip" (it should say "Go On"). And this button does not reveal the section when students click on it.
---
title: "Demo Tutorial"
output:
tutor::tutorial:
progressive: true
allow_skip: true
runtime: shiny_prerendered
---
```{r setup, include=FALSE}
library(tutor)
```
## Welcome
### Visible sub-section
This sub-section is visible. But it does not have an. The skip button does not seem to work when clicked.
### Hidden sub-section
This sub-section is hidden. You do not know that it exists.
## Second Task
Once "finished" above, you can navigate here with the TOC.
from learnr.
Related Issues (20)
- Release learnr 0.11.3 HOT 5
- Add a function to update code box dynamically from server
- Port to Quarto environment? HOT 2
- `?` shows `_` between each letter in the title of the documentation HOT 1
- Error if `-solution` chunk has an unneeded `exercise.setup` option HOT 1
- Make learnr tests less brittle wrt error classes
- Improved `try_again` checkbox question message does not apply when question is created by `question()`
- Option to precompile/render html HOT 2
- The 'message' field of feedback must be a character vector or an htmltools tag or tagList HOT 4
- Release learnr 0.11.4
- verbatim environment does not work in learnr R markdown files HOT 2
- Can't access data in data folder tutorial directory HOT 1
- Hashpipe-style chunk options cause learnr to crash HOT 1
- Progressive Reveal for Topics at Level 2 Header ##
- Example tutorials that require gradethis should error if not installed
- Fix CRAN issues in Debian r-devel
- Release learnr 0.11.5
- YAML options to customize included directories
- `Rcpp` is not working in `learnr`
- Custom CSS is not workin in learnr-tutorial
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from learnr.