[R] Add compiled code files to .gitignore

Adding a default `.gitignore` for new R projects is a nice features.  Around 20% of CRAN packages contained compiled code, often C/C++ (and increasingly Rust etc).  Those packages
will when `git add everything` is used also commit their object code and shared libraries. With this PR they will no longer so it should offer a small quality-of-life improvement to these repositories.
This commit is contained in:
Dirk Eddelbuettel 2026-07-18 10:02:13 -05:00 committed by GitHub
parent dcc0fc7bc2
commit 8d074f953d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,3 +47,8 @@ po/*~
# RStudio Connect folder
rsconnect/
# compiled code
src/*.o
src/*.so
src/*.dll