Remove DiagrammeR in favour of mermaid#163
Conversation
All diagrams were already using mermaid flowchart syntax; the DiagrammeR library() calls and webshot::install_phantomjs() setup chunks were dead code. Update CONTRIBUTING.md to point contributors to mermaid instead. Closes #162 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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:
Rendered Changes🔍 Inspect the changes: https://github.com/epiverse-trace/tutorials-late/compare/md-outputs..md-outputs-PR-163 The following changes were observed in the rendered markdown documents: 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 2026-06-12 11:27:25 +0000 |
Summary
library(DiagrammeR),library(webshot), andwebshot::install_phantomjs()setup chunks fromepisodes/contact-matrices.Rmdandepisodes/simulating-transmission.Rmd— all diagrams already used native mermaid flowchart syntaxCONTRIBUTING.mdto point new contributors to mermaid instead of DiagrammeRrenv/profiles/lesson-requirements/renv.lockviarenv::remove()+renv::snapshot()Closes #162
Test plan
🤖 Generated with Claude Code