diff --git a/.gitignore b/.gitignore index 52c1c38f0faf71d9eefc7635c87b63d7ab4fa1c1..6fb1a186882290362e7fd372757924e8f7a2e8c3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,7 @@ .Rhistory .RData .Ruserdata -*.Rproj \ No newline at end of file +*.Rproj +# OS X stuff - https://gist.github.com/adamgit/3786883 +.DS_Store +.Trashes \ No newline at end of file diff --git a/template.md b/template.md index 3a6c371a3da5d6cb0860a69cf4ea097eaa009b12..46c699248473339bfb88a310e5c5099856d0dac0 100644 --- a/template.md +++ b/template.md @@ -8,6 +8,7 @@ Things you should touch: | Item | Description | | --- | --- | +| **.gitignore** | A place to tell git what _not_ to synchronise e.g. `.csv` or [weird OS files](https://gist.github.com/adamgit/3786883)| | **env.R** | Where we store all the parameters that might be re-used across our repo. Such as colour defaults, data paths etc. We avoid using a project/repo level .Rprofile because it can lead to [a **lot** of confusion](https://support.rstudio.com/hc/en-us/articles/360047157094-Managing-R-with-Rprofile-Renviron-Rprofile-site-Renviron-site-rsession-conf-and-repos-conf). | | **DESCRIPTION** | But only if you use this as a tmeplate for your own repo - it is a special file for packages | | **LICENSE** | Edit to suit your needs | @@ -27,3 +28,4 @@ Things you should not touch: | --- | --- | | **man/** | Created by building the project/package using roxygen2 | | **NAMESPACE** | - ditto - | +| **.Rbuildignore** | - ditto - |