Demonstration of reproducibleR chunks

knitr::opts_chunk$set(echo = TRUE)
library(reproducibleRchunks)
x <- 11

#options(reproducibleRchunks.templates =  list(html = "<div style='border: 3px solid red; padding: 10px 10px 10px 10px; background-color: #EEEEEE;'><h1>${title}</h1>${content}</div>"))

Some Computation

Here is a computation:

my_sum <- x + 1

Here is another computation, which will most likely not reproduce because the random number generator will start in different states every time:

rnd <- rnorm(10)

Summary

The following table summarizes reproducibility information collected in this document:

knitr::kable(
  reproducibleRchunks::get_reproducibility_summary()
)


Try the reproducibleRchunks package in your browser

Any scripts or data that you put into this service are public.

reproducibleRchunks documentation built on Aug. 8, 2025, 6:38 p.m.