Nothing
knitr::opts_chunk$set(echo = TRUE) library("reproducibleRchunks") options(reproducibleRchunks.hashing = TRUE) knitr::knit_engines$set(reproducibleR = reproducibleR)
Define some numbers. Should be reproducible. Test reproducibility by using reproducibleR
code chunk.
xyz <- 1:10
We can run standard R code chunks without reproducibility chunks:
test_result <- t.test(c(1,2,3,4),c(3,4,5,6))
and then subject specific results to a reproducibility check in a reproducibleR chunk:
p <- test_result$p.value
numbers <- rnorm(5)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.