This test suite is for manual testing of whether code chunk options work properly. We are testing the following chunk options:
include
runs the code but doesn’t show the code or
results in the documentecho
prevents code, but not the results from appearing
in the documentThis is supposed to show code, results and report:
a <- 1
b <- a + 10
b
## [1] 11
⚠ Warning: Current code chunk fingerprint and stored code chunk fingerprint mismatch. Likely, the code chunk was modified after reproduction data was stored the first time.
✅a: REPRODUCTION SUCCESSFUL
✅b: REPRODUCTION SUCCESSFUL
This is supposed to show results and report but not the code:
## [1] 12
⚠ Warning: Current code chunk fingerprint and stored code chunk fingerprint mismatch. Likely, the code chunk was modified after reproduction data was stored the first time.
This is supposed to only show the result (12)
## [1] 12
This is supposed to only show the code
summe3 <- a + b
summe3
This is supposed to show code, results and report:
a <- 1
b <- a + 10
b
[1] 11