6 Workflow
Here’s a possibly useful resource:
https://zsmith27.github.io/rmarkdown_crash-course/lesson-5-code-chunks-and-inline-code.html
Package dependencies
There are many R packages that make writing documents like this especially easy. These must be installed in your system.
install.packages("tidyverse")