Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add main .gitignore and .buildignore #43

Merged
merged 3 commits into from
Jun 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ pkg/unmixR.Rcheck/
pkg/unmixR_*
*.Rproj
.Rproj.user
.Rbuildignore
/.project
pkg/unmixR/man
54 changes: 54 additions & 0 deletions pkg/unmixR/.Rbuildignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# READ-ONLY FILE
#
# Original file resides in r-hyperspec/pkg-skelton.
# DO NOT EDIT in any other repo as these changes will be overwritten.
# Edit at r-hyperspec/pkg-skelton, then push there and
# this file will be deployed to the other repos.
#

# IDE & editor files
^.*\.Rproj$
^\.Rproj\.user$


# Github
^\.github$
^github-helpers$


# Codecov
^.codecov\.yml$
^codecov\.yml$


# Pkgdown
^_pkgdown\.yml$
^pkgdown$
^docs$


# Directories
^_tmp$
^data-raw$


# Helper files
^CONTRIBUTING\.md$
^LICENSE\.md$
^NEWS\.html$
^README\.md$
^README\.Rmd$
Makefile


# Unwanted files
Rplots.pdf


### Package-specific ###
^inst/extdata/chondro\.gz$
^inst/extdata/winspec.pdf$
^Vignettes-Rnw$
tests/testthat/fileio


55 changes: 55 additions & 0 deletions pkg/unmixR/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# READ-ONLY FILE
#
# Original file resides in r-hyperspec/pkg-skelton.
# DO NOT EDIT in any other repo as these changes will be overwritten.
# Edit at r-hyperspec/pkg-skelton, then push there and
# this file will be deployed to the other repos.
#

# History files
.Rhistory
.Rapp.history

# Session Data files
.RData
.Ruserdata

# Example code in package build process
*-Ex.R

# Mac directory files
*.DS_Store

# RStudio files
.Rproj.user
*.Rproj.user
*.Rproj

# Local pkgdown files
docs/

# Unit tests
tests/testthat/Rplots.pdf
tests/testthat/test_*.R
tests/testthat/test-*.R

# Vignettes
vignettes/*-pkg.bib
vignettes/*.html
vignettes/*.R
vignettes/fileio
vignettes/resources/*.bib
inst/doc

# Documentation
man/*.Rd
NAMESPACE
NEWS.html
README.html

# Other/Broad
*.html
_tmp/

### Package-specific ###
tests/testthat/fileio