The Cookbook.Rmd is a series of examples taken from the inst/examples folder. To prevent having to constantly copy any edits, we will simply read the code in from the R scripts in that folder, like so (missing tick is intentional for formatting here):
This way, the only edits needed for the Cookbook.Rmd moving forward will be the addition/removal of example scripts, and the examples and Cookbook will remain in sync
QC Details
The
Cookbook.Rmd
is a series of examples taken from theinst/examples
folder. To prevent having to constantly copy any edits, we will simply read the code in from the R scripts in that folder, like so (missing tick is intentional for formatting here):This way, the only edits needed for the
Cookbook.Rmd
moving forward will be the addition/removal of example scripts, and the examples and Cookbook will remain in syncAdditional Comments