Skip to content

Commit 963fddf

Browse files
jchiquetclaude
andcommitted
Homogenize repository configuration
- sync the common .gitignore base (computorg/.github gitignore/computo.gitignore) - version renv auto-loaders (.Rprofile, renv/activate.R), as recommended by renv - untrack files that should never have been versioned (logo_text_white.pdf) Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
1 parent d877c29 commit 963fddf

5 files changed

Lines changed: 1511 additions & 40 deletions

File tree

‎.Rprofile‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
source("renv/activate.R")

‎.gitignore‎

Lines changed: 65 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,74 @@
1-
# R and co
2-
.Rhistory
3-
.Rprofile
4-
.Rapp.history
5-
.RData
6-
.Ruserdata
7-
*.Rproj
8-
.Rproj.user
9-
.Rproj.user/
10-
/*.Rcheck/
11-
renv/
12-
13-
# Python and co
14-
_environment
15-
/.micromamba/
16-
/.joblib
17-
/.pytest_cache/
18-
scripts/__pycache__/
19-
20-
# Quarto tmp files
21-
/.quarto/
22-
/*_files
23-
/*_cache
24-
/_freeze
25-
_site/
26-
/cache/
1+
# >>> computorg base (managed by tools-automation/sync-gitignore.py, do not edit) >>>
2+
# Common base for Computo article and template repositories.
3+
# Synced into each repository's .gitignore between the "computorg base" markers;
4+
# add repository-specific entries below the closing marker.
275

28-
# Quarto extension files
29-
_extensions/
30-
logo_text_white.pdf
31-
logo_notext_white.png
6+
# Quarto
7+
.quarto/
8+
/_site/
9+
/_freeze/
10+
**/*.quarto_ipynb
11+
.luarc.json
3212

33-
# Quarto output files
34-
main.pdf
35-
main.html
36-
main.ipynb
37-
main.tex
13+
# Computo extension: installed on the fly by CI, never versioned
14+
/_extensions/
15+
/logo_text_white.pdf
16+
/logo_notext_white.png
3817

39-
# Latex compilation files
18+
# Rendered outputs of the source documents (main.qmd, README.qmd, template-computo-*.qmd)
19+
/main.html
20+
/main.pdf
21+
/main.tex
22+
/main.ipynb
23+
/main_files/
24+
/main_cache/
25+
/README.html
26+
/README_files/
27+
/template-computo-*.html
28+
/template-computo-*.pdf
29+
/template-computo-*.tex
30+
/template-computo-*.ipynb
31+
/template-computo-*_files/
32+
/template-computo-*_cache/
33+
# legacy source documents named after the repository
34+
/published-*.html
35+
/published-*.pdf
36+
/published-*.tex
37+
/published-*.ipynb
38+
/published-*_files/
39+
/published-*_cache/
4040
*.aux
4141
*.log
4242
*.toc
4343

44-
# Various system files
45-
DS_Store
46-
/.luarc.json
44+
# R
45+
.Rhistory
46+
.Rapp.history
47+
.RData
48+
.Ruserdata
49+
.Rproj.user/
50+
*.Rproj
51+
*.Rcheck/
52+
_environment
53+
# renv: .Rprofile, renv.lock and renv/{activate.R,settings.json,.gitignore} ARE versioned;
54+
# the package library and renv working directories are not (also excluded by renv/.gitignore)
55+
renv/library/
56+
renv/local/
57+
renv/cellar/
58+
renv/lock/
59+
renv/python/
60+
renv/sandbox/
61+
renv/staging/
4762

63+
# Python
64+
__pycache__/
65+
.pytest_cache/
66+
.micromamba/
67+
.joblib
68+
.venv/
4869

49-
**/*.quarto_ipynb
70+
# Misc
71+
cache/
72+
.DS_Store
73+
.claude/
74+
# <<< computorg base <<<

‎logo_text_white.pdf‎

-3.5 KB
Binary file not shown.

‎renv/.gitignore‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
library/
2+
local/
3+
cellar/
4+
lock/
5+
python/
6+
sandbox/
7+
staging/

0 commit comments

Comments
 (0)