Last active
November 25, 2017 13:30
-
-
Save HeidiSeibold/b289d7be6904914ecf8ec5f331917eeb to your computer and use it in GitHub Desktop.
Reprex for learnr issue: setup: error when two exercise chunks depend on one setup chunk
This file contains 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
--- | |
title: "Tutorial" | |
output: learnr::tutorial | |
runtime: shiny_prerendered | |
--- | |
```{r setup, include=FALSE} | |
library(learnr) | |
``` | |
## Topic 2 | |
```{r read} | |
### To install the ddj package run: | |
# devtools::install_github("school-of-data/r-consortium-proposal", subdir="r-package") | |
data(introduction_raw, package = "ddj") | |
``` | |
## Topic 3 | |
Check out the names of the results data.frame. | |
```{r ex_look1, exercise=TRUE, exercise.setup = "read"} | |
``` | |
```{r ex_look1-solution} | |
names(results) | |
``` | |
Check out the names of the demographic1 data.frame. | |
```{r ex_look2, exercise=TRUE, exercise.setup = "read"} | |
``` | |
```{r ex_look2-solution} | |
names(demographic1) | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment