Skip to content

Instantly share code, notes, and snippets.

@charliejhadley
Created June 20, 2022 17:07
Show Gist options
  • Save charliejhadley/2492a8313b2e1df707b68a5493bab79d to your computer and use it in GitHub Desktop.
Save charliejhadley/2492a8313b2e1df707b68a5493bab79d to your computer and use it in GitHub Desktop.
force-not-eval.Rmd
---
output: html_document
---
```{r setup, include=FALSE}
knitr::opts_hooks$set(force_not_eval = function(value) {
value$eval <- FALSE
value
}
)
knitr::opts_chunk$set(force_not_eval = TRUE)
```
```{r, eval=TRUE}
2 + 2
```
@charliejhadley
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment