This repository is intended to be a simple example of how to automate testing rmarkdown report generation for a variety of inputs.
Knitting the minimal_example.Rmd file in this repository requires:
- R, Tested with version 4.2.0
- Pandoc which is included with RStudio installs
To use the python test suite of the html report content, poetry is used.
There are two R packages required: rmarkdown
and flexdashboard
In an R console you can install these with:
install.packages("rmarkdown", "flexdashboard")
The python dependencies used in testing are defined in pyproject.toml
and can be installed with poetry.
In the repository root directory run:
poetry install