When I knit this example .Rmd
, the second chunk---as expected---does not evaluate but if I run all chunks interactively, the second chunk executes. What's the cleanest way to accomplish the equivalent of eval=FALSE
for interactively running all chunks?
```{r}
RUN <- FALSE
```
```{r eval=RUN}
print("Code ran!")
```