better gitignore repartition and contents
authorBenjamin Auder <benjamin.auder@somewhere>
Sat, 18 Mar 2017 01:32:22 +0000 (02:32 +0100)
committerBenjamin Auder <benjamin.auder@somewhere>
Sat, 18 Mar 2017 01:32:22 +0000 (02:32 +0100)
.gitignore
pkg/.gitignore [new file with mode: 0644]
pkg/src/.gitignore [deleted file]
pkg/vignettes/.gitignore [new file with mode: 0644]

index 3c1a794..3a96875 100644 (file)
@@ -1,6 +1,27 @@
-# Ignore Rstudio project files
+#files generated by initialize.sh
+/.gitfat
+/.gitattributes
+
+#ignore temporary files
+*~
+*.swp
+
+#ignore R session files + RStudio files
+.Rhistory
+.RData
 *.Rproj*
-.Rproj.user
 .Rprofile
-.RData
 .Rbuildignore
+
+#ignore R CMD build/check genrated files
+/*.Rcheck/
+/*.tar.gz
+
+#ignore object files and executables
+*.o
+*.so
+*.exe
+
+#misc
+Rprof.out
+*.zip
diff --git a/pkg/.gitignore b/pkg/.gitignore
new file mode 100644 (file)
index 0000000..ddc8772
--- /dev/null
@@ -0,0 +1,4 @@
+#ignore roxygen2 generated files
+/NAMESPACE
+/man/*.Rd
+!/man/*-package.Rd
diff --git a/pkg/src/.gitignore b/pkg/src/.gitignore
deleted file mode 100644 (file)
index e61554f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# Ignore object files, library and test executables
-*.o
-*.so
diff --git a/pkg/vignettes/.gitignore b/pkg/vignettes/.gitignore
new file mode 100644 (file)
index 0000000..e6493d4
--- /dev/null
@@ -0,0 +1,14 @@
+#ignore jupyter generated file (ipynb, HTML)
+*.html
+*.ipynb
+
+#and various (pdf)LaTeX files, in case of
+*.tex
+*.pdf
+*.aux
+*.dvi
+*.log
+*.out
+*.toc
+*.synctex.gz
+/figure/