Reproducibility
NEST coreDev
2022-04-22
teal-code.RmdReproducibility is an important feature when it comes to data analysis for the following reasons:
- Enables users to reproduce the outputs at any moment in a simple R console outside of a reactive shiny app.
- Provides transparency where it helps users and others understand what happened during the analysis.
This is where the qenv object of
theteal.code package comes into play. It provides a
mechanism to develop reproducible shiny/teal modules.
Note that there is a public shinymeta R
package from RStudio that offers similar functionality.
However, currently, shinymeta can not be easily integrated
into teal modules and hence we recommend using
qenv for teal based apps.
For further details see the qenv
vignette.
Note: the older method of handling reproducibility,
chunks, have now been deleted and qenv should
be used instead.