worldbank / dime-github-trainings

Training materials and other GitHub related information developed by DIME Analytics
MIT License
29 stars 22 forks source link

Add .Rproj to gitignore #10

Closed kbjarkefur closed 4 years ago

kbjarkefur commented 4 years ago

@luizaandrade shoulod we un-ingnore .Rproj files as well? They seem handy for R on Databricks. You see any issue with doing this?

kbjarkefur commented 4 years ago

Pinging the R people @luisesanmartin @luizaandrade . Should we un-ignore the .Rproj file? My reading is that best practice is to commit the .Rproj file in the repository (see here) but not the .Rproj.user (see here). That is what the edit in this PR would do. Just merge this PR if you agree.

luisesanmartin commented 4 years ago

I think the argument that the Rproj files can set up a project easily for any repository collaborator is a strong point for not including them in .gitignore

kbjarkefur commented 4 years ago

Our ignore template ignores everything, and then un-ignore what do want to be committed. So now we un-ingore *.Rproj files. That is a bit of an unusual set up, but so much better (IMHO). Just wanted to make sure that that setup is clear.