Skip to content

Instantly share code, notes, and snippets.

@francisbarton
Last active June 30, 2020 18:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save francisbarton/fa84117627271ae20bcf68d55cd7c274 to your computer and use it in GitHub Desktop.
Save francisbarton/fa84117627271ae20bcf68d55cd7c274 to your computer and use it in GitHub Desktop.
Setup chunk test
---
title: "setup test"
output: html_document
---
```{r setup}
library(dplyr)
print("Hello")
```
## Setup chunk test
This is an R Markdown document.
Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents.
For more details on using R Markdown see <http://rmarkdown.rstudio.com>.
[In theory](https://twitter.com/PhilippBayer/status/1272774062733791233?s=20)
you should be able to run the chunk below without manually running the `setup` chunk above first.
RStudio should run the `setup` chunk automatically for you.
```{r test}
tibble(a = 1:3)
print("Hello again")
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment