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.
This commit is contained in:
jrnold 2016-04-29 07:17:44 -07:00
parent ae5dd85759
commit 4956277b1a

View File

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