Reproducibility with environments

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>"))
env <- new.env()
assign("a",3, envir=env)
assign("b", 728, envir=env)
e2 <- new.env()
assign("e",3, env=e2)
a<-4

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.