Skip to content
Snippets Groups Projects
Commit c7a81299 authored by Greg Wilson's avatar Greg Wilson
Browse files

Adding rule for building R Markdown files

parent 5f8521a7
Branches
Tags
No related merge requests found
......@@ -35,6 +35,10 @@ motivation.html : motivation.md _layouts/slides.html
$(INCLUDES) \
-o $@ $<
# Pattern to convert R Markdown to Markdown.
%.md: %.Rmd $(R_CHUNK_OPTS)
Rscript -e "knitr::knit('$$(basename $<)', output = '$$(basename $@)')"
## unittest : Run unit test (for Python 2 and 3)
unittest: tools/check.py tools/validation_helpers.py tools/test_check.py
cd tools/ && python2 test_check.py
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment