Quick test for interactive rmarkdown

library(tidyverse)
library(multiverse)

Introduction

This document is used for testing interactive Rmd output manually in RStudio.

M_block = multiverse()

plots

the following should create three different plots

```{multiverse plots, inside = M_block} set.seed(branch(seed, .options = 1:3))

x <- rnorm(100)

hist(x)

## plots, errors and messages

```{multiverse plots-errors-messages, inside = M_block}
x = list()

data.frame(x = 1:10) %>%
  ggplot(aes(x = x, y = x)) +
  geom_point()

hist(1:10)

print("hello")


MUCollective/multidy documentation built on Jan. 27, 2024, 9:52 a.m.