Test Suite

knitr::opts_chunk$set(echo = TRUE)

library(reproducibleRchunks)

Test Suite

This test suite is for manual testing of whether code chunk options work properly. We are testing the following chunk options:

Test 1: Default options

This is supposed to show code, results and report:

a <- 1
b <- a + 10
b

Test 2: Echo = FALSE

This is supposed to show results and report but not the code:

summe <- a + b
summe

Test 3: echo = false and report = FALSE

This is supposed to only show the result (12)

summe2 <- a + b
summe2

Test 4: Eval = FALSE

This is supposed to only show the code

summe3 <- a + b
summe3

Test 1: Default options

This is supposed to show code, results and report:

a <- 1
b <- a + 10
b


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.