From 7830ef7b5965ad47293e9325ea98fe66cd30ca93 Mon Sep 17 00:00:00 2001 From: Jim Hester Date: Fri, 2 Oct 2015 08:45:11 -0400 Subject: [PATCH] Ignore output from R CMD build and R CMD check Both rules are restricted to the top level only, so `*.tar.gz` files in data directories for instance will _not_ be ignored. --- R.gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/R.gitignore b/R.gitignore index 49037a0b..ffef9f8f 100644 --- a/R.gitignore +++ b/R.gitignore @@ -5,6 +5,12 @@ # Example code in package build process *-Ex.R +# Output files from R CMD build +/*.tar.gz + +# Output files from R CMD check +/*.Rcheck/ + # RStudio files .Rproj.user/