Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RMarkdown episode to use Quarto and add section on parametrised reports #19

Merged
merged 5 commits into from
Aug 21, 2024

Conversation

milanmlft
Copy link
Member

@milanmlft milanmlft commented Aug 20, 2024

Parametrised reports

Warning

There seems be an issue with quarto::quarto_render() when generating parameterised reports in that it will overwrite the output figures, so the rendered reports will all show the exact same plot...

See quarto-dev/quarto-r#205 for more info

This kind of renders the whole gapminder example useless, but I left it in with a callout and some notes about how to get the same with R Markdown. With a bit of luck, the issue gets fixes soonish 🤞

Fixes #5

Copy link

github-actions bot commented Aug 20, 2024

Thank you!

Thank you for your pull request 😃

🤖 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:

  • 🎯 correct output
  • 🖼️ correct figures
  • ❓ new warnings
  • ‼️ new errors

Rendered Changes

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

The following changes were observed in the rendered markdown documents:

 22-knitr-markdown.md => 22-quarto.md               | 370 +++++++++++++++------
 config.yaml                                        |  94 +++---
 ...-markdown-rendered-rmd_to_html_fig-1.png (gone) | Bin 7382 -> 0 bytes
 fig/New_Quarto_Document.png (new)                  | Bin 0 -> 55936 bytes
 md5sum.txt                                         |   4 +-
 5 files changed, 326 insertions(+), 142 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.

⏱️ Updated at 2024-08-20 17:22:13 +0000

github-actions bot pushed a commit that referenced this pull request Aug 20, 2024
@quirksahern quirksahern merged commit 580a4d9 into main Aug 21, 2024
3 checks passed
@quirksahern quirksahern deleted the milanmlft/quarto-episode branch August 21, 2024 11:05
github-actions bot pushed a commit that referenced this pull request Aug 21, 2024
Auto-generated via {sandpaper}
Source  : 580a4d9
Branch  : main
Author  : quirksahern <[email protected]>
Time    : 2024-08-21 11:05:20 +0000
Message : Merge pull request #19 from UCL-ARC/milanmlft/quarto-episode

Update RMarkdown episode to use Quarto and add section on parametrised reports
github-actions bot pushed a commit that referenced this pull request Aug 21, 2024
Auto-generated via {sandpaper}
Source  : 40998d1
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2024-08-21 11:06:35 +0000
Message : markdown source builds

Auto-generated via {sandpaper}
Source  : 580a4d9
Branch  : main
Author  : quirksahern <[email protected]>
Time    : 2024-08-21 11:05:20 +0000
Message : Merge pull request #19 from UCL-ARC/milanmlft/quarto-episode

Update RMarkdown episode to use Quarto and add section on parametrised reports
github-actions bot pushed a commit that referenced this pull request Aug 27, 2024
Auto-generated via {sandpaper}
Source  : 40998d1
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2024-08-21 11:06:35 +0000
Message : markdown source builds

Auto-generated via {sandpaper}
Source  : 580a4d9
Branch  : main
Author  : quirksahern <[email protected]>
Time    : 2024-08-21 11:05:20 +0000
Message : Merge pull request #19 from UCL-ARC/milanmlft/quarto-episode

Update RMarkdown episode to use Quarto and add section on parametrised reports
github-actions bot pushed a commit that referenced this pull request Aug 27, 2024
Auto-generated via {sandpaper}
Source  : 40998d1
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2024-08-21 11:06:35 +0000
Message : markdown source builds

Auto-generated via {sandpaper}
Source  : 580a4d9
Branch  : main
Author  : quirksahern <[email protected]>
Time    : 2024-08-21 11:05:20 +0000
Message : Merge pull request #19 from UCL-ARC/milanmlft/quarto-episode

Update RMarkdown episode to use Quarto and add section on parametrised reports
github-actions bot pushed a commit that referenced this pull request Aug 30, 2024
Auto-generated via {sandpaper}
Source  : 40998d1
Branch  : md-outputs
Author  : GitHub Actions <[email protected]>
Time    : 2024-08-21 11:06:35 +0000
Message : markdown source builds

Auto-generated via {sandpaper}
Source  : 580a4d9
Branch  : main
Author  : quirksahern <[email protected]>
Time    : 2024-08-21 11:05:20 +0000
Message : Merge pull request #19 from UCL-ARC/milanmlft/quarto-episode

Update RMarkdown episode to use Quarto and add section on parametrised reports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New episode: Reporting with Quarto
2 participants