This repository is a collection of knitr examples. It is both for my own test purpose and for other knitters to learn about this package.
For each input file, there is an output file, e.g. 001-minimal.Rmd
corresponds to 001-minimal.md
.
The examples can be checked automatically with Travis CI. To enable:
- Fork this repository and
knitr
- Enable Travis CI for your
knitr
fork - In your
knitr
fork, create a branch with the same name as in yourknitr-examples
fork- You can also choose to work in
master
in both repositories
- You can also choose to work in
Now, each time you push to knitr
, the examples are compiled and checked for differences with the expected result. Use this for major changes to knitr
to avoid undesired side effects.