]> source.dussan.org Git - gitignore.git/commitdiff
Add knitr and R markdown patterns to R.gitignore 1956/head
authorjrnold <jeffrey.arnold@gmail.com>
Fri, 29 Apr 2016 14:17:44 +0000 (07:17 -0700)
committerjrnold <jeffrey.arnold@gmail.com>
Fri, 29 Apr 2016 14:17:44 +0000 (07:17 -0700)
These patterns handle cache diretories and temporary files created
by the widely used [knitr](http://yihui.name/knitr/) and [R markdown](http://rmarkdown.rstudio.com/)
packages.

R.gitignore

index 60e037a8450f6bfbac64b81159095dbfba06f1e5..fcff087aebb621ca6fd0351733d304943d91a0d3 100644 (file)
@@ -23,3 +23,11 @@ vignettes/*.pdf
 
 # OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
 .httr-oauth
+
+# knitr and R markdown default cache directories
+/*_cache/
+/cache/
+
+# Temporary files created by R markdown
+*.utf8.md
+*.knit.md