library(tidyverse) library(multiverse)
This document is used for testing interactive Rmd output manually in RStudio.
M_block = multiverse()
```{multiverse plots, inside = M_block, fig.width = 5, fig.height = 2} hist(1:10)
```{multiverse ggplots, inside = M_block, fig.width = 5, fig.height = 2} data.frame(x = 1:10) %>% ggplot(aes(x = x, y = x)) + geom_point()
```{multiverse plots-errors-messages, inside = M_block, fig.width = 5, fig.height = 2} x = list()
data.frame(x = 1:10) %>% ggplot(aes(x = x, y = x)) + geom_point()
hist(1:10)
print("hello")
x = x + 1 # should give an error ```
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.