UCL-ARC / r-amr-epidemiology

R for Reproducible Scientific Analysis
http://github-pages.arc.ucl.ac.uk/r-amr-epidemiology/
Other
0 stars 0 forks source link

Avoid long code chunk outputs for Statistics episode #29

Closed milanmlft closed 2 months ago

milanmlft commented 2 months ago

Some of the code chunks in the statistics episode produce extremely long outputs. Setting option(max.print = 100) truncates all outputs to max. 100 lines.

Also fixes #16

github-actions[bot] commented 2 months ago

Thank you!

Thank you for your pull request :smiley:

:robot: This automated message can help you check the rendered files in your submission for clarity. If you have any questions, please feel free to open an issue in {sandpaper}.

If you have files that automatically render output (e.g. R Markdown), then you should check for the following:

Rendered Changes

:mag: Inspect the changes: https://github.com/UCL-ARC/r-amr-epidemiology/compare/md-outputs..md-outputs-PR-29

The following changes were observed in the rendered markdown documents:

 06-filedir.md                                      |     2 +-
 23-statistics.md                                   | 34410 +------------------
 config.yaml (new)                                  |   112 +
 ...tatistics-rendered-unnamed-chunk-15-1.png (new) |   Bin 0 -> 125092 bytes
 fig/23-statistics-rendered-unnamed-chunk-2-1.png   |   Bin 4903 -> 3941 bytes
 fig/23-statistics-rendered-unnamed-chunk-3-1.png   |   Bin 4835 -> 4903 bytes
 ...statistics-rendered-unnamed-chunk-4-1.png (new) |   Bin 0 -> 4342 bytes
 ...statistics-rendered-unnamed-chunk-4-2.png (new) |   Bin 0 -> 4549 bytes
 fig/filesystem-challenge.svg (new)                 |   763 +
 md5sum.txt                                         |     4 +-
 renv.lock (new)                                    |  2145 ++
 11 files changed, 3064 insertions(+), 34372 deletions(-)
What does this mean? If you have source files that require output and figures to be generated (e.g. R Markdown), then it is important to make sure the generated figures and output are reproducible. This output provides a way for you to inspect the output in a diff-friendly manner so that it's easy to see the changes that occur due to new software versions or randomisation.

:stopwatch: Updated at 2024-09-04 12:33:37 +0000