library(epoxy)

the_data <- list(
    list(first = "one", second = "two"),
    list(first = "three", second = "four"),
    list(first = "five", second = "six"),
    list(first = "seven", second = "eight"),
    list(first = "nine", second = "ten")
)

knitr::opts_chunk$set(.data = the_data[[1]])

```{epoxy chunk-template, .data = the_data[[2]]} {first} followed by {second}

```r
epoxy_use_chunk(the_data[[3]], "chunk-template")
epoxy_use_chunk(the_data[[4]], "chunk-template")
epoxy_use_chunk(label = "chunk-template")

r epoxy_use_chunk(label = "chunk-template")



gadenbuie/epoxy documentation built on April 19, 2024, 8:20 a.m.