language21 active rulesVerified 2026-09-30
R .gitignore Template
R history, workspace images, build products, and package checks. Generated and merged deterministically with upstream GitHub repository patterns to keep your repository clean of package directories, temporary build artifacts, and local environment files.
Interactive Stack Generator
Preconfigured with R/
Search for templates
Quick add:
Selected1
R
Selected Templates (1)
R
language
R history, workspace images, build products, and package checks
#r#rstats#r-lang
.gitignore
21 rules•1 template
### R #### History files.Rhistory.Rapp.history # Session Data files.RData.RDataTmp # User-specific files.Ruserdata # 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/ # produced vignettesvignettes/*.htmlvignettes/*.pdf # OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3.httr-oauth # knitr and R markdown default cache directories*_cache//cache/ # Temporary files created by R markdown*.utf8.md*.knit.md # R Environment Variables.Renviron.env # pkgdown sitedocs/ # translation temp filespo/*~ # RStudio Connect folderrsconnect/ 52 lines•UTF-8•LF
Deterministic
Raw R .gitignore
Crawlable upstream source templater.gitignore•51 lines•UTF-8
# History files.Rhistory.Rapp.history # Session Data files.RData.RDataTmp # User-specific files.Ruserdata # 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/ # produced vignettesvignettes/*.htmlvignettes/*.pdf # OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3.httr-oauth # knitr and R markdown default cache directories*_cache//cache/ # Temporary files created by R markdown*.utf8.md*.knit.md # R Environment Variables.Renviron.env # pkgdown sitedocs/ # translation temp filespo/*~ # RStudio Connect folderrsconnect/ Key Pattern Breakdown
Environment Secrets & Local Overrides
Local environment configurations, secrets, and credentials intended to protect developer-specific settings from exposure.
.httr-oauth.env
Execution Caches & Runtime Logs
Diagnostic logs, runtime metadata, test coverage reports, and incremental compiler caches that cause noisy repository diffs.
.RDataTmp*_cache//cache/
Source & Verification
Source: GitHub gitignore (main)
License: CC0-1.0
Place this file in the root directory of your project as .gitignore. Changes take effect on newly added or untracked files.