Skip to content

Commit 4956277

Browse files
committed
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.
1 parent ae5dd85 commit 4956277

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

R.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,11 @@ vignettes/*.pdf
2323

2424
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3
2525
.httr-oauth
26+
27+
# knitr and R markdown default cache directories
28+
/*_cache/
29+
/cache/
30+
31+
# Temporary files created by R markdown
32+
*.utf8.md
33+
*.knit.md

0 commit comments

Comments
 (0)