From 4956277b1ac108faad93c0fdc25f6b796dcb2cd8 Mon Sep 17 00:00:00 2001 From: jrnold Date: Fri, 29 Apr 2016 07:17:44 -0700 Subject: [PATCH] Add knitr and R markdown patterns to R.gitignore 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 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/R.gitignore b/R.gitignore index 60e037a..fcff087 100644 --- a/R.gitignore +++ b/R.gitignore @@ -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 -- GitLab