I am writing a learnr tutorial, and I need to suppress knitr's paged printing. Exercise chunks seem to ignore paged.print = FALSE. Is there another way to suppress paged printing? Reprex below:
About why it does not work currently, i think it is because paged.print = FALSE is a feature of Rmarkdown only in its render function and here it uses rmarkdown::run. Maybe it should be ported to rmarkdown run (don't know if easy or not).
About disabling output:
echo = FALSE will hide the chunk code source, not the output
eval = FALSE will disable the evaluation hence the output. with echo = FALSE, you'll get nothing
results = "hide" will hide the result
include = FALSE is equivalent to echo = FALSE, eval = TRUE and results = 'hide'
Just an update as it was not what I thought. Nothing to do with rmarkdown.
It just that learnr does not support paged.print chunk option for exercise chunks as it does not pass it through.
So I guess a feature request is required in learn so that it supports it. But I guess the document format option df_print is maybe enough...